- Merge request !83226772: switch dispatch parameters order as old order is deprecated → (Closed) created by yang_yi_cn
The auto test does show errors like this in D9.1 (and not in D8.9):
7x: Calling the Symfony\Component\EventDispatcher\EventDispatcherInterface::dispatch() method with a string event name as the first argument is deprecated in drupal:9.1.0, an Event object will be required instead in drupal:10.0.0. See https://www.drupal.org/node/3154407
Basically https://www.drupal.org/node/3154407 → says
The signature of Symfony\Component\EventDispatcher\EventDispatcherInterface::dispatch() has changed.
Before:
$event_dispatcher->dispatch($event_name, Event $event = NULL);
After:
$event_dispatcher->dispatch(Event $event, $event_name = NULL);
The order of $event and $event_name is switched, this is introduced in D9.1 / Symfony 4.x.
Closed: outdated
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.