akeneo / magento2-connector-community

Akeneo Connector for Magento 2
Open Software License 3.0
85 stars 89 forks source link

Can not config Connector #584

Open omerimuni opened 2 years ago

omerimuni commented 2 years ago

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
oefterdal commented 2 years ago

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

itlinlab commented 2 years ago

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

seguragu commented 2 years ago

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.

Dnd-Gimix commented 2 years ago

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:

Thank you. Regards,

seguragu commented 2 years ago

Hello @Dnd-Gimix ,

Configuration :

I don't think of any specificity with my Magento, except module _magentocsp 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.

Hexmage commented 2 years ago

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 commented 2 years ago

102.6.1 does work for Magento 2.4.2.

Dnd-Gimix commented 2 years ago

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,