Ajax error after update commerce cart

Created on 2 June 2023, over 1 year ago
Updated 24 June 2023, over 1 year ago

I have done the below update today.

After this I get the below error.
{
"message": "\nΠαρουσιάστηκε AJAX HTTP σφάλμα.\nΚωδικός αποτελέσματος HTTP: 200\nΑκολουθούν πληροφορίες αποσφαλμάτωσης.\nΔιαδρομή: /el/product/koypa-gyalini-me-diplo-toihoma-75ml-66x95cm-fy75b?v=18841&ajax_form=1\nΚείμενο Κατάστασης: parsererror\nΚείμενο Απόκρισης: ArgumentCountError: Too few arguments to function Drupal\\commerce_cart\\EventSubscriber\\CartEventSubscriber::__construct(), 2 passed in /home/easytech/viosarp.gr/web/modules/contrib/commerce_ajax_atc/src/EventSubscriber/AjaxCartEventSubscriber.php on line 34 and exactly 3 expected in Drupal\\commerce_cart\\EventSubscriber\\CartEventSubscriber->__construct() (line 42 of /home/easytech/viosarp.gr/web/modules/contrib/commerce/modules/cart/src/EventSubscriber/CartEventSubscriber.php).",
"name": "AjaxError"
}

It seems that the constructor of AjaxCartEventSubscriber at line 34. Maybe that there is issue compatibility with new commerce upate.

Any help please.

Upgrading symfony/finder (v6.2.7 => v6.3.0): Extracting archive
- Upgrading doctrine/deprecations (v1.0.0 => v1.1.0): Extracting archive
- Upgrading symfony/var-dumper (v5.4.23 => v5.4.24): Extracting archive
- Upgrading egulias/email-validator (3.2.5 => 3.2.6): Extracting archive
- Upgrading twbs/bootstrap (v5.2.3 => v5.3.0): Extracting archive
- Upgrading drupal/commerce (2.35.0 => 2.36.0): Extracting archive
- Upgrading drupal/commerce_price (2.35.0 => 2.36.0)
- Upgrading drupal/commerce_store (2.35.0 => 2.36.0)
- Upgrading drupal/commerce_number_pattern (2.35.0 => 2.36.0)
- Upgrading drupal/commerce_order (2.35.0 => 2.36.0)
- Upgrading drupal/commerce_product (2.35.0 => 2.36.0)
- Upgrading drupal/commerce_cart (2.35.0 => 2.36.0)
- Upgrading drupal/commerce_checkout (2.35.0 => 2.36.0)
- Upgrading drupal/feeds (3.0.0-beta3 => 3.0.0-beta4): Extracting archive
- Upgrading drupal/commerce_product_limits (1.0.0 => 1.0.1): Extracting archive
- Upgrading drupal/field_validation (1.0.0-beta4 => 1.0.0-beta5): Extracting archive
- Upgrading drupal/metatag (1.23.0 => 1.25.0): Extracting archive
- Upgrading drupal/views_bulk_operations (4.2.3 => 4.2.4): Extracting archive
- Upgrading symfony/css-selector (v6.2.7 => v6.3.0): Extracting archive
- Upgrading symfony/string (v6.2.8 => v6.3.0): Extracting archive

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇬🇷Greece tarasiadis

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024