[GH-ISSUE #1081] in /api/me : Call to undefined method Illuminate\Events\Dispatcher::fire() #633

Closed
opened 2026-02-26 02:33:45 +03:00 by kerem · 3 comments
Owner

Originally created by @bzctoons on GitHub (Sep 13, 2019).
Original GitHub issue: https://github.com/koel/koel/issues/1081

Hey, thanks for contributing to Koel! To save time for both of us, please make sure these checkboxes are checked before submitting the issue:

  • You have read and followed closely the Wiki, Upgrade Guide, as well as Troubleshooting
  • The issue has not been reported before
  • This is not a "how to install on Windows" or "why is my npm messed up" question
  • You're a cool person

All checked? Now also make sure your issue

  • Is associated with a version. Or better yet, a commit.
  • Is as detailed as possible (ahem... OS, browser, steps to reproduce, maybe?)
  • Includes the error output if it's a bug/error report ("Whoops!" is not very helpful, you know)
  • Is in English, 因为我不说中文。

Hello
the error is here :
vendor/tymon/jwt-auth/src/Middleware/BaseMiddleware.php
line 60
v4.0.0.0
The same error on the demo site : https://demo.koel.phanan.net/api/me
Thanks

Originally created by @bzctoons on GitHub (Sep 13, 2019). Original GitHub issue: https://github.com/koel/koel/issues/1081 Hey, thanks for contributing to Koel! To save time for both of us, please make sure these checkboxes are checked before submitting the issue: - [ ] You have read and followed closely the [Wiki](https://koel.phanan.net/docs), [Upgrade Guide](https://github.com/phanan/koel/releases), as well as [Troubleshooting](https://koel.phanan.net/docs/#/troubleshooting) - [ ] The issue has not been reported before - [ ] This is not a "how to install on Windows" or "why is my npm messed up" question - [ ] You're a cool person All checked? Now also make sure your issue - [ ] Is associated with a version. Or better yet, a commit. - [ ] Is as detailed as possible (ahem... OS, browser, steps to reproduce, maybe?) - [ ] Includes the error output if it's a bug/error report ("Whoops!" is not very helpful, you know) - [ ] Is in English, 因为我不说中文。 Hello the error is here : vendor/tymon/jwt-auth/src/Middleware/BaseMiddleware.php line 60 v4.0.0.0 The same error on the demo site : https://demo.koel.phanan.net/api/me Thanks
kerem closed this issue 2026-02-26 02:33:45 +03:00
Author
Owner

@payafterwork commented on GitHub (Oct 23, 2019):

I am unable to login, on localhost and also on https://demo.koel.phanan.net/

<!-- gh-comment-id:545266832 --> @payafterwork commented on GitHub (Oct 23, 2019): I am unable to login, on localhost and also on https://demo.koel.phanan.net/
Author
Owner

@phanan commented on GitHub (Oct 23, 2019):

Thanks for reporting.

@bzctoons You can't access demo.koel.phanan.net/api/me directly via GET, so it's not the same error. Also, the error you described doesn't affect the app's functionality.

@payafterwork I don't know what happened, but I've reset the password to 'demo' and it works now.

<!-- gh-comment-id:545302283 --> @phanan commented on GitHub (Oct 23, 2019): Thanks for reporting. @bzctoons You can't access demo.koel.phanan.net/api/me directly via GET, so it's not the same error. Also, the error you described doesn't affect the app's functionality. @payafterwork I don't know what happened, but I've reset the password to 'demo' and it works now.
Author
Owner

@merlinux commented on GitHub (Jan 3, 2020):

@bzctoons may be you have a Laravel version where method fire() was replaced by dispatch()
fix as easy as:
// $response = $this->events->fire($event, $payload, true);
$response = $this->events->dispatch($event, $payload, true);

at line 60 in vendor/tymon/jwt-auth/src/Middleware/BaseMiddleware.php
this worked for me using Laravel Framework 5.8.35
cheers!

<!-- gh-comment-id:570674248 --> @merlinux commented on GitHub (Jan 3, 2020): @bzctoons may be you have a Laravel version where method fire() was replaced by dispatch() fix as easy as: // $response = $this->events->fire($event, $payload, true); $response = $this->events->dispatch($event, $payload, true); at line 60 in vendor/tymon/jwt-auth/src/Middleware/BaseMiddleware.php this worked for me using Laravel Framework 5.8.35 cheers!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/koel-koel#633
No description provided.