Sometimes I POST or GET a url and the page just keeps loading forever.
I also get this error when I want to show a non-existing variable in blade or when a form validation fails.
It also keeps loading when I post to something like this:
public function postStep2(Request $request)
{
var_dump($request); die();
}
This works:
public function postStep2(Request $request)
{
var_dump(Input::all()); die();
}
I'm beginning to think that it has to do with Laravel wanting to show me an error page (via a redirect and ends up in a loop?).
I'm using Laravel 5.2. I tried to downgrade to 5.2.15 and back up to 5.2.22. Also, httpd.exe is using a lot of CPU when this happens and I end up killing it and restarting wampserver.
What could be the cause of this infinite loading or loop? Why would the first peace of example code load forever, while the second piece of example code is shown almost immediately? Why would the the non-existing variable in blade not show a warning instead of loading forever?