Support the ongoing development of Laravel.io →
posted 4 years ago
Last updated 1 year ago.
0

I got it. The problem was that I had overridden the application exceptions handle method for rendering custom error pages (where the view names were also custom). I assume this is not a good practice :)

0
moderator

Nice that you found it, if you want to overwrite the error pages you should create them in: resources/views/errors/ See: https://laravel.com/docs/5.8/errors#custom-http-error-pages

And bonus tip: let the 500 error view be a standalone html page. On that way you prevent almost always that you get an error in creating the error page.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

ggg giovanni-e Joined 4 Jun 2019

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.