buckaroo-it / Magento2

Repository containing the Magento2 plugin by Buckaroo
MIT License
28 stars 35 forks source link

QuoteCreateResponseInterface class doesn't exist #1068

Closed erwinromkes closed 1 month ago

erwinromkes commented 1 month ago

On the 1.50.x versions I get the following error when visiting an Product Detail Page: The "QuoteCreateResponseInterface" class doesn't exist and the namespace must be specified. Verify and try again.

Tested on a Magento 2.4.5-p9 installation

Buckaroo-Rene commented 1 month ago

Hi @erwinromkes ,

Thanks for contacting us about the issue that you are having with the non existing class. One of our developers will take a look at it and we'll let you know.

Regards, René

vegimcarkaxhija commented 1 month ago

Hi @erwinromkes ,

Thank you for reporting this issue. It looks like the error might be related to a missing or incorrectly generated class (QuoteCreateResponseInterface).
I recommend running the following commands to ensure everything is up to date and correctly generated:

1.Upgrade setup: php bin/magento setup:upgrade

2.Compile generated classes: php bin/magento setup:di:compile

3.Clear the cache: php bin/magento cache:clean

These commands should help regenerate any missing files and clear any cached content.

If the issue persists, please provide the exact error log, your PHP version, and the exact version of the module you are using. This will help us investigate further and provide a more specific solution.

erwinromkes commented 1 month ago

Thanks for the message back @vegimcarkaxhija . Yes I did run the commands before opening this ticket. Maybe it is some customization we did, I'm not sure yet.

It happens after a upgrade from v1.47.0 to v1.50.1 on a PHP 8.1 environment, before we didn't see such error messages. I was also triggered when I saw changes like https://github.com/buckaroo-it/Magento2/compare/v1.47.0...v1.50.0#diff-300954fcb4514fdeefcb7526514f4dd232ee9694931814ca89bbed15834fc794 but maybe that was an false alarm.

For now I gonna to check the customization first, maybe it's something on our side.

Buckaroo-Rene commented 1 month ago

Hi @erwinromkes,

Thank you for your reply. I know that some other users already have installed 1.50.1 without this issue so perhaps it is a customization issue indeed. Please let us know the outcome of your further research regarding the customization.

Best regards, René

erwinromkes commented 1 month ago

And confirmed: it's somewhere very deep in our own customization.

Buckaroo-Rene commented 1 month ago

@erwinromkes ,

Thanks for the confirmation.