Exceptions
Exception
Symfony\Component\HttpKernel\Exception\ NotFoundHttpException
** throw $this->createNotFoundException('Page not found!');*/protected function createNotFoundException(string $message = 'Not Found', ?\Throwable $previous = null): NotFoundHttpException{return new NotFoundHttpException($message, $previous);}/*** Returns an AccessDeniedException.*
if ($key == $route) {return $this->redirect($val);}}}throw $this->createNotFoundException();}}
in
vendor/symfony/http-kernel/HttpKernel.php
->
hoplinks
(line 163)
$this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);$controller = $event->getController();$arguments = $event->getArguments();// call controller$response = $controller(...$arguments);// viewif (!$response instanceof Response) {$event = new ViewEvent($this, $request, $type, $response);$this->dispatcher->dispatch($event, KernelEvents::VIEW);
in
vendor/symfony/http-kernel/HttpKernel.php
->
handleRaw
(line 75)
{$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());$this->requestStack->push($request);try {return $this->handleRaw($request, $type);} catch (\Exception $e) {if ($e instanceof RequestExceptionInterface) {$e = new BadRequestHttpException($e->getMessage(), $e);}if (false === $catch) {
in
vendor/symfony/http-kernel/Kernel.php
->
handle
(line 202)
$this->boot();++$this->requestStackSize;$this->resetServices = true;try {return $this->getHttpKernel()->handle($request, $type, $catch);} finally {--$this->requestStackSize;}}
in
vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php
->
handle
(line 35)
$this->request = $request;}public function run(): int{$response = $this->kernel->handle($this->request);$response->send();if ($this->kernel instanceof TerminableInterface) {$this->kernel->terminate($this->request, $response);}
in
vendor/autoload_runtime.php
->
run
(line 35)
$app = $app(...$args);exit($runtime->getRunner($app)->run());
require_once('/var/www/clients/client0/web40/private/vendor/autoload_runtime.php')
in
/var/www/clients/client0/web40/web/index.php
(line 9)
//ini_set('display_errors', '1');use App\Kernel;use Symfony\Component\Dotenv\Dotenv;require_once dirname(__DIR__).'/private/vendor/autoload_runtime.php';require_once dirname(__DIR__).'/private/vendor/facebook/php-graph-sdk-5.x/src/Facebook/autoload.php';return function (array $context) {(new Dotenv())->usePutenv()->bootEnv(dirname(__DIR__).'/private/.env');return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
Stack Trace
|
NotFoundHttpException
|
|---|
Symfony\Component\HttpKernel\Exception\NotFoundHttpException:
Not Found
at vendor/symfony/framework-bundle/Controller/AbstractController.php:340
at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->createNotFoundException()
(src/Controller/Pages/PageController.php:190)
at App\Controller\Pages\PageController->hoplinks()
(vendor/symfony/http-kernel/HttpKernel.php:163)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
(vendor/symfony/http-kernel/HttpKernel.php:75)
at Symfony\Component\HttpKernel\HttpKernel->handle()
(vendor/symfony/http-kernel/Kernel.php:202)
at Symfony\Component\HttpKernel\Kernel->handle()
(vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
(vendor/autoload_runtime.php:35)
at require_once('/var/www/clients/client0/web40/private/vendor/autoload_runtime.php')
(/var/www/clients/client0/web40/web/index.php:9)
|