Laravel 5 on php artisan config:clear generated Closure::__set_state() error

后端 未结 7 1005
情书的邮戳
情书的邮戳 2020-12-24 02:50

My code in on production and I ran

php artisan config:clear

After that, my code was not running. The index pages and all other pages went

7条回答
  •  孤城傲影
    2020-12-24 03:42

    Changing the config.php file inside the vendor/tymon/jwt-auth/src/config to this

    'auth' => Tymon\JWTAuth\Providers\Auth\IlluminateAuthAdapter::class` 
    

    and this

    'storage' => Tymon\JWTAuth\Providers\Storage\IlluminateCacheAdapter::class` 
    

    before runnning php artisan config:cache worked for me.

提交回复
热议问题