Support the ongoing development of Laravel.io →
Installation
Last updated 2 years ago.
0

Are you sure file ./views/layout.html.php exists ?

Last updated 2 years ago.
0

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.

Last updated 2 years ago.
0

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.

Last updated 2 years ago.
0

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
Last updated 2 years ago.
0

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.

Last updated 2 years ago.
0

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.

Last updated 2 years ago.
0

Should be fixed anyway in 4.2.3, but did you run composer update from within homestead? Or from another dir?

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

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.