No hint path define for [erros] laravel 5.6

Viewed 5618

While creating error exceptions in laravel 5.7, I have got Exception called "No hint path define for [errors]". Kindly provide the solution.

ErrorException (E_ERROR) No hint path defined for [errors]. (View: E:\xampp\htdocs\putinbasket\resources\views\errors\404.blade.php) Previous exceptions No hint path defined for [errors]. (0)

2 Answers

if you use bellow command for create error pages:

php artisan vendor:publish --tag=laravel-errors

then you should edit all pages (eg 404.blade.php) and change

errors::minimal code to errors.minimal

note that minimal or layout or illustrated-layout is like that and must exists in resources/view/errors folder

You have to publish Laravel’s default error layout by running this command:

php artisan vendor:publish --tag=laravel-errors

Then you can extend the error layout and create own error pages. Also, I would recommend you to read the documentation about custom HTTP error pages.

Related