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 :)
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.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community