Cannot accept invite, site whitescreens

Created on 26 June 2025, 7 days ago

Steps to reproduce

When a user tries to accept an invite on version 3.x you get the following error.

TypeError: Drupal\invite\Controller\InviteAccept::__construct(): Argument #1 ($dispatcher) must be of type Symfony\Component\EventDispatcher\EventDispatcher, Drupal\tracer\EventDispatcher\TraceableEventDispatcher given, called in /var/www/html/docroot/modules/contrib/invite/src/Controller/InviteAccept.php on line 45 in Drupal\invite\Controller\InviteAccept->__construct() (line 55 of modules/contrib/invite/src/Controller/InviteAccept.php). 
πŸ› Bug report
Status

Active

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States josh.fabean

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @josh.fabean
  • @joshfabean opened merge request.
  • πŸ‡ΊπŸ‡ΈUnited States josh.fabean

    Created new MR that moves from \Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher to \Symfony\Component\EventDispatcher\EventDispatcherInterface and it works as intended for me.

Production build 0.71.5 2024