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).
Issue fork menu_block_current_language-3203089
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
Comment #2
tuutti commentedWhat version of Drupal are you using?
Comment #3
greg boggsThe current release. 9.0
Comment #4
tuutti commentedAh, it's probably caused by #3201597: Fix 9.x deprecation notices. I thought
Drupal\Component\EventDispatcher\Eventclass was introduced in 9.x, but looks like it was actually added in 9.1.x (https://www.drupal.org/node/3159012).Comment #6
tuutti commentedThis should be fixed in 8.x-1.6.