Just to verify, do you use the return statement? (sometime, you can forgt it and obtain "nothing" as response).
You can try, return response()->view('errors.404', [], 404);
PS: I thing you should use a 500 error instead of a 404.
In this link you can found a course about Laravel 5.0 => 5.1 step by step if you want specific guidance: Laravel step-by-step course
Hope it helps.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community