[GH-ISSUE #408] Bug: artisan config:cache #294

Closed
opened 2026-02-26 02:32:43 +03:00 by kerem · 1 comment
Owner

Originally created by @BernardGoldberger on GitHub (Aug 17, 2016).
Original GitHub issue: https://github.com/koel/koel/issues/408

When running php artisan config:cache it fails.

Error

Fatal error: Call to undefined method Closure::__set_state() in /Users/anahkiasen/config-closures/bootstrap/cache/config.php on line 22

Fix

Did some research and found https://github.com/laravel/framework/issues/9625 and many othe disscussions, then I found https://github.com/tymondesigns/jwt-auth/issues/203#issuecomment-131386283 wich actually fixes it, will have a PR soon with the fix included.

Originally created by @BernardGoldberger on GitHub (Aug 17, 2016). Original GitHub issue: https://github.com/koel/koel/issues/408 When running `php artisan config:cache` it fails. **Error** ``` Fatal error: Call to undefined method Closure::__set_state() in /Users/anahkiasen/config-closures/bootstrap/cache/config.php on line 22 ``` **Fix** Did some research and found https://github.com/laravel/framework/issues/9625 and many othe disscussions, then I found https://github.com/tymondesigns/jwt-auth/issues/203#issuecomment-131386283 wich actually fixes it, will have a PR soon with the fix included.
kerem closed this issue 2026-02-26 02:32:43 +03:00
Author
Owner

@BernardGoldberger commented on GitHub (Aug 17, 2016):

https://github.com/phanan/koel/pull/409

<!-- gh-comment-id:240406062 --> @BernardGoldberger commented on GitHub (Aug 17, 2016): https://github.com/phanan/koel/pull/409
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#294
No description provided.