Laravel starts new dev server instead of showing backend error #41732
Unanswered
maxonfjvipon
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description:
Hey everyone.
My apologizes if I should write it somewhere else but still... I started today new project from scratch. I use Laravel + React + InertiaJS. It's not my first project but I have never experienced it before...
I have
login
route andprojects.index
route. After success login I redirect toprojects.index
and in projects controller inindex
method there is an obvious intentional error: fielduser_id
does not exists.I do
php artisan serve
, it starts on 8000 port, everything works fine. Then I log in, redirect toprojects.index
and I expect that Laravel shows me error page with some debug info. But instead is starts new dev server on 8001. Then he does the same on 8002 and so on.What I get in Chrome after I logged in:
I don't really know how to reproduce it. Only this project has such behavior, idk why, other projects of mine work fine. This is a repo: https://github.com/maxonfjvipon/bpe2.0.
Beta Was this translation helpful? Give feedback.
All reactions