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

Command icon 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:

Comments

p-neyens created an issue. See original summary.

p-neyens’s picture

StatusFileSize
new990 bytes

here the patch to easily use with cweagans/composer-patches

ab.shakir’s picture

Patch at #3 not applying for 1.x-dev.

ab.shakir’s picture

StatusFileSize
new556 bytes
chucksimply’s picture

Status: Active » Needs review

Ran into this error after upgrading to Drupal 10.

#5 on dev fixed it. We should get this pushed.

spuky’s picture

Edit delted: wrong issue

nicoloye’s picture

Status: Needs review » Reviewed & tested by the community

Patch is working fine. Thanks for the help!

  • p-neyens authored 037121b3 on 8.x-1.x
    Issue #3377136 by p-neyens, ab.shakir, chucksimply, spuky, nicoloye:...
nicoloye’s picture

Patch committed to dev branch, preparing a D10 release.
Thanks!

nicoloye’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.