Deprecated: Calling EventDispatcherInterface::dispatch() with a string event name as the first argument is deprecated

Created on 18 October 2022, about 2 years ago
Updated 3 July 2023, over 1 year ago

Since Drupal 9.1, the order of the parameters when calling the event dispatcher, must be reversed. See Commerce issue #3216910: Deprecated: Calling EventDispatcherInterface::dispatch() with a string event name as the first argument is deprecated

Since 9.1 is already an old and unsupported nowadays, we shouldn't use a BC layer, like Commerce did in the past, but just raise version requirements to at least 9.1 and do the necessary changes

This issue becomes important, once you want to profile your page using the webprofiler module, as having commerce_stock installed will lead to a WSOD because of these invalid calls.

📌 Task
Status

Closed: duplicate

Version

1.0

Component

Code

Created by

🇦🇹Austria agoradesign

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