-
-
Notifications
You must be signed in to change notification settings - Fork 604
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
file_get_contents([internal]): failed to open stream: No such file or directory #598
Comments
...until they fix that `[internal]` issue filp/whoops#598
Can you describe how to reproduce this problem? |
This is the test that was failing based on our integration of Whoops in UserFrosting : https://github.com/userfrosting/UserFrosting/blob/master/app/sprinkles/core/tests/Integration/Error/Renderer/WhoopsRendererTest.php I'll see if I can replicate using vanilla Whoops. |
I managed to replicate in a fresh clone of this repo by changing this line : https://github.com/filp/whoops/blob/master/tests/Whoops/Handler/PrettyPageHandlerTest.php#L21 To :
Same happens if you change the default property to true ( |
Thanks, will investigate |
Fixed in #599! |
...until they fix that `[internal]` issue filp/whoops#598
We're encountering a
file_get_contents([internal]): failed to open stream: No such file or directory
error in our implementation of whoops. After some digging, it goes back to the changes made in 4798f07.The
[internal]
part is returned by theInspector
. Removing the superfluousis_file()
check doesn't really make sense if a file can be set as[internal]
and won't be catched by the other checks.A proposed fix would be to revert changes made in 4798f07.
The text was updated successfully, but these errors were encountered: