laravel - Lumen problems with redirect and middlewares -
i try use lumen project have 2 problem, first when try make return redirect()->back();
controller action method status code 500 page. there nothing in log file , don't see error message on page (i uncommented dot files , facades in bootstrap/app.php file , in .env file set environment local , debug true).
the same problem have when uncomment middlewares in bootstrap/app.php file.
what can wrong?
i think redirect()->back() needs session work first had enable middlewares in bootstrap/app.php file work if add session_drive .env file (dot files must enabled in app.php file).
Comments
Post a Comment