1.你好请问我这里配置的时候出现了一个小问题,我用的是laravel5.4,当我用php artisan api:routes查看的时候提示我
PHP Fatal error: Call to undefined method Closure::__set_state() in D:\phpStudy\WWW\laravel-api\bootstrap\cache\config.php on line 27
PHP Stack trace:
PHP 1. {main}() D:\phpStudy\WWW\laravel-api\artisan:0
PHP 2. Illuminate\Foundation\Console\Kernel->handle() D:\phpStudy\WWW\laravel-api\artisan:36
PHP 3. Illuminate\Foundation\Console\Kernel->bootstrap() D:\phpStudy\WWW\laravel-api\vendor\laravel\framework\src\Illuminate\Foundation\Console\Kernel.php:114
PHP 4. Illuminate\Foundation\Application->bootstrapWith() D:\phpStudy\WWW\laravel-api\vendor\laravel\framework\src\Illuminate\Foundation\Console\Kernel.php:267
PHP 5. Illuminate\Foundation\Bootstrap\LoadConfiguration->bootstrap() D:\phpStudy\WWW\laravel-api\vendor\laravel\framework\src\Illuminate\Foundation\Application.php:208
PHP 6. require() D:\phpStudy\WWW\laravel-api\vendor\laravel\framework\src\Illuminate\Foundation\Bootstrap\LoadConfiguration.php:28
2.在bootstrap的cache的config.php中的27行
'auth' =>
array (
'basic' =>
Closure::__set_state(array(
)),
'jwt' =>
Closure::__set_state(array(
)),
),