Route::group ([' Middleware ' = [' web ']], function () { //}), still error, see the session is using the default file, no problem, the file is also writable, and then in
The kernel.php has been added in the
protected $middleware = [ \illuminate\foundation\http\middleware\checkformaintenancemode::class, \ Illuminate\session\middleware\startsession::class, \illuminate\view\middleware\shareerrorsfromsession:: class,];
When you do nothing, you suddenly report the following error:
Runtimeexception:session store not set on request.
Workaround:
Maybe some of your installation components need to be updated, try it:
[PHP] View plain copycomposer update
Run and try again.
If you are using the file session to check if your storage directory has write permission to use database check there is no sessions table used Memcache/redis There is no boot memcached and Redis service, there is no corresponding extension installed