D9 incompatible 'AjaxAddToCartForm' constructor

Created on 23 April 2021, over 4 years ago
Updated 19 August 2025, 2 months ago

Problem/Motivation

There seem to be compatibility issues when using D9 in combination with Drupal Commerce 8.x-2.x

Steps to reproduce

Setup a Drupal 9 site with Drupal Commerce 8.x-2.x (for example 8.2.24) and configure dc_ajax_add_cart. Apply the following patches:

Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "entity.manager". in Drupal\Component\DependencyInjection\Container->get() (line 151 of core/lib/Drupal/Component/DependencyInjection/Container.php).
πŸ› Bug report
Status

Closed: duplicate

Version

1.0

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium yoerioptr

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024