makopov's avatar

NotFoundHttpException in RoutesRequests.php line 450

I installed a fresh version of lumen and tried to get to the root of the site '/', however I ran into this message "NotFoundHttpException in RoutesRequests.php line 450:". Based on some stack overflow posts it seems that replacing the following line in public/index.php

$app->run();

with

$app->run($app->make('request'));

Fixes the problem, my question is why? And why doesn't Lumen ship with the following change already made?

0 likes
1 reply
ChristophAust's avatar

Really a good question. Everytime I make an installation of Lumen I struggle with this, find the solution on stackoverflow and am too lazy to ask here :D

Please or to participate in this conversation.