CartTokenSubscriber not compatible with latest core (8.9.16)

Created on 7 June 2021, almost 4 years ago
Updated 26 July 2023, over 1 year ago

Problem/Motivation

WSOD when used with Drupal >= 8.9.16

TypeError: Argument 1 passed to Drupal\commerce_cart_api\EventSubscriber\CartTokenSubscriber::onRequest() must be an instance of Symfony\Component\HttpKernel\Event\RequestEvent, instance of Symfony\Component\HttpKernel\Event\GetResponseEvent given in Drupal\commerce_cart_api\EventSubscriber\CartTokenSubscriber->onRequest() (line 75 of modules/contrib/commerce_cart_api/src/EventSubscriber/CartTokenSubscriber.php).

Steps to reproduce

Update to latest D8.9 version.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Closed: outdated

Version

1.0

Component

Code

Created by

πŸ‡―πŸ‡΄Jordan abu-zakham

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