magento2-connector-community icon indicating copy to clipboard operation
magento2-connector-community copied to clipboard

Can not config Connector

Open omerimuni opened this issue 3 years ago • 8 comments
trafficstars

Environment and configuration

  1. Magento CE 2.4.2-p1
  2. Akeneo Connector 103.0.0
  3. PHP 7.4

Steps to reproduce

  1. Install extension on Magento following official documentation
  2. GO Stores->Configuration->Catalog->Akeneo Connector

Expected result

  1. Expected to see Connector conf page

Actual result

  1. image

omerimuni avatar May 30 '22 06:05 omerimuni

@omerimuni Your magento install is “broken” Make sure all packages are installed.

oefterdal avatar Jun 03 '22 08:06 oefterdal

Facing this same issue after a update to the module via composer from v101 to v103...

itlinlab avatar Jun 14 '22 20:06 itlinlab

Same issue here, still looking for a fix.

First time I clicked on the Akeneo Connector button (in Stores >Configuration > Catalog) page was showing but since I saved my config I can't open it anymore and I get this error.

seguragu avatar Jun 23 '22 12:06 seguragu

Hello @omerimuni @itlinlab @seguragu ,

Thank you for your feedback. We are trying to replicate the issue but unfortunately without success.

Do you have any additional information to provide to us so we can study the issue:

  • Is there any specificity with you Magento instances? Can you provide to us your PHP version + Magento version too?
  • Is it a fresh connector install or did you upgraded it from a previous connector version?
  • What are the steps you followed to install / upgrade the connector?
  • Any other relevant detail to help us

Thank you. Regards,

Dnd-Gimix avatar Jul 04 '22 09:07 Dnd-Gimix

Hello @Dnd-Gimix ,

Configuration :

  • Magento 2 Community Edition 2.4.1 (on CentOS 8, with PHP 7.4)
  • Akeneo Community Edition 6.0 (on another CentOS 8 server, with PHP 8.0)
  • Akeneo connector module : "akeneo/module-magento2-connector-community": "^103.0" (source : my magento's composer.json file)

I don't think of any specificity with my Magento, except module magento_csp is disabled.

Connector install and errors

It is a fresh connector install. I followed the instructions in section Install "Akeneo Connector for Magento 2 Community Edition" here : https://help.akeneo.com/magento2-connector//articles/download-connector.html using composer 1.10.

I created a new connection in Akeneo (connect > connection settings). Then I configured my new API configuration on Magento side (Stores > Catalog > Akeneo Connector). But as soon as I saved it I am unable to access it anymore and I get these php errors instead :

error_akeneo_connector_pic txt

Same error in txt : error_akeneo_connector.txt

Thank you for your answer, please let me know if you need any additional informations.

seguragu avatar Jul 06 '22 14:07 seguragu

Getting the same issue on PHP 7.4 Magento 2.4.2.

Trying to downgrade to 102.6.1 now to see if that resolves the issue.

The issue feels like a too new class is requested in 103.x for versions before Magento 2.4.4

Hexmage avatar Jul 13 '22 09:07 Hexmage

102.6.1 does work for Magento 2.4.2.

Hexmage avatar Jul 13 '22 10:07 Hexmage

Hello @Hexmage @seguragu @omerimuni @oefterdal ,

We have release a hotfix for this issue in the latest 103.0.4 version of the connector: https://github.com/akeneo/magento2-connector-community/releases/tag/v103.0.4

We have added the "nyholm/psr7" dependency inside the connector, that should fix your issue. Can you please upgrade your connector and try again to confirm if it is now working as expected?

Thanks again. Regards,

Dnd-Gimix avatar Jul 25 '22 14:07 Dnd-Gimix