Answer the question
In order to leave comments, you need to log in
How to disable errors in laravel 5?
In .env
APP_ENV=production
APP_DEBUG=false
In vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php error_reporting(0)
And the site crashes on Undefined index and any notice.
When doing this, I see a white screen with woops, something went wrong.
How to disable notice errors?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question