- Issue created by @tarasiadis
- 🇬🇷Greece tarasiadis
Is there any other user that update to commerce 2.35.0 and see the same error?
- 🇬🇷Greece tarasiadis
I have downgrade to "drupal/commerce": "2.35" and works ok. But with new "drupal/commerce": "2.36", I get the error that I have sent.
- 🇬🇷Greece tarasiadis
I’m sure that is compatibility issue with new commerce 2.36.
Here is the new feature that maybe is conflict with Ajax add to cart class extension.
https://www.drupal.org/node/3317738 →
If somebody could help to make it compatible with new version of commerce.
The tests will probably need to be fixed, and we will probably have to set a new minimum version requirement to commerce core.
Apply the patch and clear the caches.
Let me know.- Status changed to Needs review
over 1 year ago 11:37pm 2 June 2023 - last update
over 1 year ago Composer error. Unable to continue. - 🇬🇷Greece tarasiadis
Hi tonytheferg,
I have check the patch and seems that works ok with commerce 2.36 -
tonytheferg →
committed 440e3770 on 1.0.x
Issue #3364372 by tonytheferg: Ajax error after update commerce cart
-
tonytheferg →
committed 440e3770 on 1.0.x
- Status changed to Fixed
over 1 year ago 11:56am 23 June 2023 Committed with an updated Commerce Core dependency of
"drupal/commerce": "^2.36"
- 🇬🇷Greece tarasiadis
After update to 1.0.0-rc1 I cannot apply the patch.
And my site crach with error 500.Please help me.
- Installing drupal/commerce_ajax_atc (1.0.0-rc1): Extracting archive
- Applying patches for drupal/commerce_ajax_atc
https://www.drupal.org/files/issues/2023-06-02/3364372-5.patch → (Add to cart fix with commerce 2.36 update)
Could not apply patch! Skipping. The error was: Cannot apply patch https://www.drupal.org/files/issues/2023-06-02/3364372-5.patch →In Patches.php line 331:
Cannot apply patch Add to cart fix with commerce 2.36 update ( https://www.drupal.org/files/issues/2023-06-02/3364372-5.patch → )!
- 🇬🇷Greece tarasiadis
Now I get an error as below
PHP Fatal error: Cannot use Drupal\Core\Entity\EntityTypeManagerInterface as EntityTypeManagerInterface because the name is already in use in /......../web/modules/contrib/commerce_ajax_atc/src/EventSubscriber/AjaxCartEventSubscriber.php on line 11
- 🇬🇷Greece tarasiadis
I have delete the whole folder and I upload the new version and is ok now.
You don't need the patch in the new version, it's already included
Automatically closed - issue fixed for 2 weeks with no activity.