1
Personal talk I’m making the following mistake:
ReflectionException
Class Illuminate\Cookie\Middleware\EncryptCookies does not exist
I’m using Lumen but I think I may have set something wrong in the app.php:
$app->middleware([
Illuminate\Cookie\Middleware\EncryptCookies::class,
Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
Illuminate\Session\Middleware\StartSession::class,
Illuminate\View\Middleware\ShareErrorsFromSession::class,
//Illuminate\Cookie\Middleware\EncryptCookies::class,
]);
$app->routeMiddleware([
// 'auth' => App\Http\Middleware\Authenticate::class,
]);
Which version of Lumen you are using?
– gmsantos
Laravel Lumen 5.6.1
– Elton Silva