Problem/Motivation
Running on D10 an exception occurs:
Fatal error: Uncaught Error: Class "Symfony\Component\EventDispatcher\Event" not found in /var/www/html/web/modules/contrib/multi_domain_login/src/Event/UserLoginEvent.php:11
Stack trace:
#0 /var/www/html/vendor/composer/ClassLoader.php(576): include()
#1 /var/www/html/vendor/composer/ClassLoader.php(427): Composer\Autoload\{closure}('/var/www/html/w...')
#2 /var/www/html/web/modules/contrib/multi_domain_login/src/EventSubscriber/UserLoginSubscriber.php(64): Composer\Autoload\ClassLoader->loadClass('Drupal\\multi_do...')
#3 /var/www/html/web/core/lib/Drupal/Core/DependencyInjection/Compiler/RegisterEventSubscribersPass.php(37): Drupal\multi_domain_login\EventSubscriber\UserLoginSubscriber::getSubscribedEvents()
#4
Steps to reproduce
None
Proposed resolution
Use the correct base class.
Remaining tasks
Fix code
User interface changes
None
API changes
None
Data model changes
None
Issue fork multi_domain_login-3396344
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 #4
kriboogh commentedComment #5
kriboogh commented