C
C
chelkaz2016-04-01 20:21:05
Laravel
chelkaz, 2016-04-01 20:21:05

Why in place 404 error 500?

Before that, I gave 404 to a non-existent page. I rolled up the new laravel installed the old APP and views.
But I noticed that it gives 500 instead of 404 to the existing page. The 404 page exists.
Chrome debug says Status Code: 500 Internal Server Error

Answer the question

In order to leave comments, you need to log in

2 answer(s)
C
chelkaz, 2016-04-01
@chelkaz

The problem was solved by updating the project
php artisan view:clear
php artisan cache:clear
composer update --no-dev --optimize-autoloader
After that, a variable missing error was written to the log.

K
Kirill Nesmeyanov, 2016-04-01
@SerafimArts

And look at the logs (storage/logs/), don't you? =)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question