Exceptions
Exception
Symfony\Component\HttpKernel\Exception\ NotFoundHttpException
Show exception properties
Symfony\Component\HttpKernel\Exception\NotFoundHttpException {#3086 -statusCode: 404 -headers: [] }
** 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.*
AbstractController->createNotFoundException()
in
src/Controller/Frontend/FrontendController.php
(line 157)
}return new RedirectResponse($routingResult->redirectUrl, 301);}} catch (PageNotFoundException) {if (FrontendSiteRouter::isAssetUrl($pageUrl)) {throw $this->createNotFoundException();}return FrontendSiteRouter::permanentRedirectResponse($this->generateUrl('page_show', ['pageUrl' => '']));}// default action: render the page
in
vendor/symfony/http-kernel/HttpKernel.php
->
showAction
(line 183)
$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, $event);$this->dispatcher->dispatch($event, KernelEvents::VIEW);
in
vendor/symfony/http-kernel/HttpKernel.php
->
handleRaw
(line 76)
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());$this->requestStack->push($request);$response = null;try {return $response = $this->handleRaw($request, $type);} catch (\Throwable $e) {if ($e instanceof \Error && !$this->handleAllThrowables) {throw $e;}
in
vendor/symfony/http-kernel/Kernel.php
->
handle
(line 182)
$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)
) {}public function run(): int{$response = $this->kernel->handle($this->request);if (Kernel::VERSION_ID >= 60400) {$response->send(false);if (\function_exists('fastcgi_finish_request') && !$this->debug) {
in
vendor/autoload_runtime.php
->
run
(line 29)
$app = $app(...$args);exit($runtime->getRunner($app)->run());
<?phpuse App\Kernel;use Symfony\Component\HttpFoundation\Request;require_once dirname(__DIR__) . '/vendor/autoload_runtime.php';if ($trustedProxies = $_SERVER['TRUSTED_PROXIES'] ?? $_ENV['TRUSTED_PROXIES'] ?? false) {Request::setTrustedProxies(explode(',', $trustedProxies), Request::HEADER_X_FORWARDED_TRAEFIK);}
Logs 4
| Level | Channel | Message |
|---|---|---|
| ERROR 11:15:23 | deprecation |
User Deprecated: Class "Doctrine\ORM\Proxy\Autoloader" is deprecated. Use native lazy objects instead. (Autoloader.php:74 called by DoctrineBundle.php:136, https://github.com/doctrine/orm/pull/12005, package doctrine/orm) {
"exception": {}
}
|
| INFO 11:15:23 | request |
Matched route "_profiler". {
"route": "_profiler",
"route_parameters": {
"_route": "_profiler",
"_controller": "web_profiler.controller.profiler::panelAction",
"token": "51d138"
},
"request_uri": "https://www.jgonzalez.eu/_profiler/51d138",
"method": "GET"
}
|
| ERROR 11:15:23 | deprecation |
User Deprecated: Since symfony/var-exporter 7.3: Using ProxyHelper::generateLazyGhost() is deprecated, use native lazy objects instead. {
"exception": {}
}
|
| ERROR 11:15:23 | deprecation |
User Deprecated: Since symfony/var-exporter 7.3: The "Symfony\Component\VarExporter\LazyGhostTrait" trait is deprecated, use native lazy objects instead. {
"exception": {}
}
|
| ERROR 11:15:23 | deprecation |
User Deprecated: Since symfony/var-exporter 7.3: Using ProxyHelper::generateLazyGhost() is deprecated, use native lazy objects instead. {
"exception": {}
}
|
Stack Trace
|
NotFoundHttpException
|
|---|
Symfony\Component\HttpKernel\Exception\NotFoundHttpException:
Not Found
at vendor/symfony/framework-bundle/Controller/AbstractController.php:325
at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->createNotFoundException()
(src/Controller/Frontend/FrontendController.php:157)
at App\Controller\Frontend\FrontendController->showAction(object(Request), 'dist/page/index-legacy-.js.map')
(vendor/symfony/http-kernel/HttpKernel.php:183)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
(vendor/symfony/http-kernel/HttpKernel.php:76)
at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
(vendor/symfony/http-kernel/Kernel.php:182)
at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
(vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
(vendor/autoload_runtime.php:29)
at require_once('/app/vendor/autoload_runtime.php')
(web/index.php:6)
|