https://laracasts.com/discuss/channels/general-discussion/whoops-doesnt-show-any-errors-homestead-20
also tried this... with no luck
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi, after recent updates, when I type a wrong route, my homestead returns this error
http://new.tinygrab.com/db0e29f6dc5e72e72fab6bf7a77f9bee81d9d1ffbf.png
instead of this
http://new.tinygrab.com/db0e29f6dcdc70a6a3db7b14afb3c18da7a15f96fb.png
Enable HHVM ( by adding hhvm:true in Homestead.yaml file ) doesn't solve the issue all the times. So I believe there's another solution.
Any suggestions?
Well done, bashy! :)
removing
error_page 404 /index.php;
has fixed the issue and now L4 whoops again for wrong routes. I've added this couple of lines in "after.sh" to patch the wrong nginx config
echo "\n--- Removing Nginx error_page 404 ---\n"
sudo sed -i "/error_page/d" /etc/nginx/sites-enabled/*
echo "\n--- Restarting Nginx ---\n"
sudo service nginx reload
On the other hand
error_log /var/log/nginx/www.laravel.dev-error.log warn;
still doesn't work. Empty file! ...but not so important in this very topic :)
Thanks very very much for your support!
Please or to participate in this conversation.