Are you sure file ./views/layout.html.php exists ?
It does not seem to exist...and that's the strange part because this file lives in /Illuminate/Exceptions/resources/views/
Update: Actually it does exist in one of the location it says it can't find that file.
Bumping this cause I'm really not sure what is going on here. Anyone got any ideas? I'm throwing darts against the wall at this point so any help would be appreciated.
I'm seeing this error too. Here's what find tells me.
$ cd $PROJECT_ROOT $ find . -name layout.html.php ./vendor/filp/whoops/src/Whoops/Resources/views/layout.html.php
I stashed my latest changes and re-ran
php artisan serve. The error went away.
I restored the changes and re-ran
php artisan serve. Whoops is loading correctly.
Now I can't duplicate. Sorry, I realize this isn't very helpful.
Heh, that actually did help in a way. I'm using Homestead so I just just did a vagrant destroy and vagrant up. I then ran a composer update and got 4.2.2 and now Whoops seems to be working again. I'm not sure if it was 4.2.2 that fixed it or if it was trashing my VM...but it's working now.
Should be fixed anyway in 4.2.3, but did you run composer update from within homestead? Or from another dir?
Sign in to participate in this thread!
We'd like to thank these amazing companies for supporting us
The Laravel portal for problem solving, knowledge sharing and community building.