Throughout my Laravel website I have been using the abort(404)
helper for throwing errors in my application and showing custom error pages I have made.
Everything works fine, until I change APP_DEBUG
in the .env to false
when going live.
Now for every page where I had thrown say a 404 error, it shows error 500 no matter what.