ContainerAwareEventDispatcher::dispatch() wrongly called

Created on 15 January 2024, 10 months ago

ContainerAwareEventDispatcher::dispatch() in usage_data.module is called with the wrong order of parameters. We get this error message:

TypeError: Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher::dispatch(): Argument #1 ($event) must be of type object, string given, called in /var/www/html/web/modules/contrib/usage_data/usage_data.module on line 128 in Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch() (line 89 of core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php).

🐛 Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

🇳🇴Norway mnlund

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

Comments & Activities

Production build 0.71.5 2024