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

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

kriboogh created an issue. See original summary.

  • kriboogh committed 92db71bb on 1.0.x
    Issue #3396344: Use correct base class for Event.
    
kriboogh’s picture

Version: 1.0.4 » 1.0.5
Status: Active » Fixed
kriboogh’s picture

Status: Fixed » Closed (fixed)