Fatal error on config savig, dispatch error

Created on 25 May 2023, over 1 year ago
Updated 26 May 2023, over 1 year ago

Problem/Motivation

On menu saving got error
TypeError: Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher::dispatch(): Argument #1 ($event) must be of type object, string given, called in /var/www/docroot/modules/contrib/we_megamenu/src/WeMegaMenuBuilder.php on line 341 inDrupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch() (line89 of /var/www/docroot/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php).

Proposed resolution

Need to fix dispatch event in WeMegaMenuBuilder class.

Remaining tasks

No tasks.

User interface changes

No changes.

API changes

Code update.

Data model changes

No changes.

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine t1mm1 Kiev

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

Comments & Activities

Production build 0.71.5 2024