-
-
Notifications
You must be signed in to change notification settings - Fork 614
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Argument 1 passed to "Symfony\Component\EventDispatcher\EventDispatcherInterface::dispatch()" must be an instance of Symfony\Component\EventDispatcher\Event, Lexik\Bundle\JWTAuthenticationBundle\Event\JWTAuthenticatedEvent given. #657
Comments
|
thx for the quick reply just checked and rerun the upgrade
|
Can you please show the full exception trace ? Is the cache properly cleared for the environment on which you're getting the error? A |
i did stack trace
|
Also having the exact same problem. |
I will investigate this week, it might be a symfony bug. |
same issue |
Same here since update from |
I had same issue, is there a solution for this? |
I have the same one but for the AuthenticationSuccessEvent, I assume it's related? Symfony/Eventdispatcher 4.3.1 and event-dispatcher-contracts 1.1.1
|
Same issue here. Any idea how can i fix it? |
I fixed this error. It occurred for me because i was overriding the AuthenticationSuccessHandler. So I need copy again this classe from: https://github.com/lexik/LexikJWTAuthenticationBundle/blob/master/Security/Http/Authentication/AuthenticationSuccessHandler.php and apply my changes again. I hope it helps someone, cheers!! |
Can one of you please share the full exception trace? |
Turned out to be related to something else in my codebase sorry |
|
I solved this issue by removing the first argument in |
Try |
I also get this error when I try to login with bad credentials. |
I solved patching this way, but I understand this needs further analysis to be fixed in a better way
|
#669 should fix your issue |
While waiting for the fix to be merged, downgrading |
I also have this issue |
I have the same problem |
Yes this did the trick. Thanks for the sage answer :). |
Fixed by #669 |
Hi, I'm getting the following error with Symfony 4.3
Argument 1 passed to "Symfony\Component\EventDispatcher\EventDispatcherInterface::dispatch()" must be an instance of Symfony\Component\EventDispatcher\Event, Lexik\Bundle\JWTAuthenticationBundle\Event\JWTAuthenticatedEvent given.
The text was updated successfully, but these errors were encountered: