I enabled the latest release and placed the block on my homepage. Site is WSOD with this message.

Error: Class 'Drupal\Component\EventDispatcher\Event' not found in include() (line 11 of modules/contrib/menu_block_current_language/src/Event/HasTranslationEvent.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

Greg Boggs created an issue. See original summary.

tuutti’s picture

What version of Drupal are you using?

greg boggs’s picture

The current release. 9.0

tuutti’s picture

Ah, it's probably caused by #3201597: Fix 9.x deprecation notices. I thought Drupal\Component\EventDispatcher\Event class was introduced in 9.x, but looks like it was actually added in 9.1.x (https://www.drupal.org/node/3159012).

tuutti’s picture

Status: Active » Fixed

This should be fixed in 8.x-1.6.

Status: Fixed » Closed (fixed)

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