Active
Project:
Invite
Version:
3.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Jun 2025 at 18:53 UTC
Updated:
26 Jun 2025 at 18:58 UTC
Jump to comment: Most recent
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).
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 #3
josh.fabeanCreated new MR that moves from \Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher to \Symfony\Component\EventDispatcher\EventDispatcherInterface and it works as intended for me.