Symfony\Component\HttpKernel\Exception\NotFoundHttpException {#135 -statusCode: 404 -headers: [] }
*/ protected function handleDispatcherResponse($routeInfo) { switch ($routeInfo[0]) { case Dispatcher::NOT_FOUND: throw new NotFoundHttpException; case Dispatcher::METHOD_NOT_ALLOWED: throw new MethodNotAllowedHttpException($routeInfo[1]); case Dispatcher::FOUND: return $this->handleFoundRoute($routeInfo); } if (isset($this->router->getRoutes()[$method.$pathInfo])) { return $this->handleFoundRoute([true, $this->router->getRoutes()[$method.$pathInfo]['action'], []]); } return $this->handleDispatcherResponse( $this->createDispatcher()->dispatch($method, $pathInfo) ); }); } catch (Throwable $e) { return $this->prepareResponse($this->sendExceptionToHandler($e)); ->send($this->make('request')) ->through($middleware) ->then($then); } return $then($this->make('request')); } /** * Prepare the response for sending. * [$method, $pathInfo] = $this->parseIncomingRequest($request); try { $this->boot(); return $this->sendThroughPipeline($this->middleware, function ($request) use ($method, $pathInfo) { $this->instance(Request::class, $request); if (isset($this->router->getRoutes()[$method.$pathInfo])) { return $this->handleFoundRoute([true, $this->router->getRoutes()[$method.$pathInfo]['action'], []]); } * @param \Symfony\Component\HttpFoundation\Request|null $request * @return void */ public function run($request = null) { $response = $this->dispatch($request); if ($response instanceof SymfonyResponse) { $response->send(); } else { echo (string) $response;| the client's browser allowing them to enjoy the creative| and wonderful application we have prepared for them.|*/$app->run();|
NotFoundHttpException
|
|---|
Symfony\Component\HttpKernel\Exception\NotFoundHttpException:
at /home/karvanbarbazarga/public_html/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:235
at Laravel\Lumen\Application->handleDispatcherResponse(array(0))
(/home/karvanbarbazarga/public_html/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:174)
at Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}(object(Request))
(/home/karvanbarbazarga/public_html/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:431)
at Laravel\Lumen\Application->sendThroughPipeline(array(), object(Closure))
(/home/karvanbarbazarga/public_html/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:167)
at Laravel\Lumen\Application->dispatch(null)
(/home/karvanbarbazarga/public_html/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:112)
at Laravel\Lumen\Application->run()
(/home/karvanbarbazarga/public_html/index.php:28)
|