TypeError: Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher::dispatch(): Argument #1 ($event) must be of type object, string given, called in /var/www/html/modules/contrib/forms_steps/src/Form/FormsStepsAlter.php on line 159 in Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch() (regel 89 van /var/www/html/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php).
Proposed resolution
Change record:
https://www.drupal.org/node/3159012
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | forward-event-dispatcher-3377136-4.patch | 556 bytes | ab.shakir |
| #3 | forward-event-dispatcher-3377136-2.patch | 990 bytes | p-neyens |
Issue fork forms_steps-3377136
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3377136-eventdispatcherdispatch-argument-order
changes, plain diff MR !14
Comments
Comment #3
p-neyens commentedhere the patch to easily use with cweagans/composer-patches
Comment #4
ab.shakir commentedPatch at #3 not applying for 1.x-dev.
Comment #5
ab.shakir commentedComment #6
chucksimply commentedRan into this error after upgrading to Drupal 10.
#5 on dev fixed it. We should get this pushed.
Comment #7
spuky commentedEdit delted: wrong issue
Comment #8
nicoloye commentedPatch is working fine. Thanks for the help!
Comment #10
nicoloye commentedPatch committed to dev branch, preparing a D10 release.
Thanks!
Comment #11
nicoloye commented