You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After a fresh install, execute route:cache and route:list and exception fired.,
Steps To Reproduce:
I made a fresh install with
composer create laravel/laravel test
cd test
php artisan route:cache
php artisan route:list
And error...
` ReflectionException
Class "O:47:"Laravel\SerializableClosure\SerializableClosure":1:{s:12:"serializable";O:46:"Laravel\SerializableClosure\Serializers\Signed":2:{s:12:"serializable";s:295:"O:46:"Laravel\SerializableClosure\Serializers\Native":5:{s:3:"use";a:0:{}s:8:"function";s:77:"function (\Illuminate\Http\Request $request) {
return $request->user();
}";s:5:"scope";s:37:"Illuminate\Routing\RouteFileRegistrar";s:4:"this";N;s:4:"self";s:32:"00000000000002d30000000000000000";}";s:4:"hash";s:44:"Wl3vmm7PTYqPG0N8Pm85TCwJiITBVFJMMMs+7LPOb5A=";}}" does not exist
at vendor/laravel/framework/src/Illuminate/Foundation/Console/RouteListCommand.php:223
219▕ if ($route->action['uses'] instanceof Closure) {
220▕ $path = (new ReflectionFunction($route->action['uses']))
221▕ ->getFileName();
222▕ } elseif (is_string($route->action['uses'])) {
➜ 223▕ $path = (new ReflectionClass(explode('@', $route->action['uses'])[0]))
224▕ ->getFileName();
225▕ } else {
226▕ return false;
227▕ }`
The text was updated successfully, but these errors were encountered:
Description:
After a fresh install, execute route:cache and route:list and exception fired.,
Steps To Reproduce:
I made a fresh install with
composer create laravel/laravel test
cd test
php artisan route:cache
php artisan route:list
And error...
` ReflectionException
Class "O:47:"Laravel\SerializableClosure\SerializableClosure":1:{s:12:"serializable";O:46:"Laravel\SerializableClosure\Serializers\Signed":2:{s:12:"serializable";s:295:"O:46:"Laravel\SerializableClosure\Serializers\Native":5:{s:3:"use";a:0:{}s:8:"function";s:77:"function (\Illuminate\Http\Request $request) {
return $request->user();
}";s:5:"scope";s:37:"Illuminate\Routing\RouteFileRegistrar";s:4:"this";N;s:4:"self";s:32:"00000000000002d30000000000000000";}";s:4:"hash";s:44:"Wl3vmm7PTYqPG0N8Pm85TCwJiITBVFJMMMs+7LPOb5A=";}}" does not exist
at vendor/laravel/framework/src/Illuminate/Foundation/Console/RouteListCommand.php:223
219▕ if ($route->action['uses'] instanceof Closure) {
220▕ $path = (new ReflectionFunction($route->action['uses']))
221▕ ->getFileName();
222▕ } elseif (is_string($route->action['uses'])) {
➜ 223▕ $path = (new ReflectionClass(explode('@', $route->action['uses'])[0]))
224▕ ->getFileName();
225▕ } else {
226▕ return false;
227▕ }`
The text was updated successfully, but these errors were encountered: