My context is special, i inherited a project built by someone else. Sorry for the lack of steps to reproduce.
The fact is that there are fatals that happen on some pages built with Layout Builder, throwing that type of error:

TypeError: Argument 2 passed to Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher::dispatch() must be an instance of Symfony\Component\EventDispatcher\Event or null, instance of Drupal\layoutcomponents\Event\LcPreprocessLayoutEvent given, called in modules/contrib/layoutcomponents/layoutcomponents.theme.inc on line 33 in Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch() (line 89 of core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php)

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

Artusamak created an issue. See original summary.

dcraig91’s picture