Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

rubenochoa's avatar

How I can see the errors from 404 NOT FOUND

According to my last post how can i know what errors can exists when a page not loading?

0 likes
3 replies
dennisprudlo's avatar
Level 7

It's not an error per se. Most likely you try to access a route you haven't registered. Or maybe you have a typo in your URL.

When you use SomeModel::findOrFail(123); and there is no model with the ID 123 in your database, Laravel will throw as well a 404.

dennisprudlo's avatar

I assume this is a 500 error now? When the error even prevents the stack trace to show you might take a look at your log files. In storage/logs/ you should find a laravel.log file.

1 like

Please or to participate in this conversation.