Exceptions
Exception
Symfony\Component\HttpKernel\Exception\ NotFoundHttpException
Show exception properties
Symfony\Component\HttpKernel\Exception\NotFoundHttpException {#1445 -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.*
$pageTranslation = $pageTranslationRepository->findPublishedBySlugLanguageAndSite($slug, $language, $site);if (!$pageTranslation && ($this->isGranted('ROLE_ADMIN') || $this->isGranted('ROLE_SUPER_ADMIN'))) {$pageTranslation = $pageTranslationRepository->findBySlugLanguageAndSite($slug, $language, $site);}if (!$pageTranslation) {throw $this->createNotFoundException('Page not found');}$page = $pageTranslation->getPage();if (!$page) {throw $this->createNotFoundException('Page not found');
in
vendor/symfony/http-kernel/HttpKernel.php
->
show
(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 193)
if (!$this->handlingHttpCache) {$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 32)
$app = $app(...$args);exit($runtime->getRunner($app)->run());
require_once('/var/www/clients/client2/web40/private/block-builder/vendor/autoload_runtime.php')
in
/var/www/clients/client2/web40/web/index.php
(line 5)
<?phpuse App\Kernel;require_once dirname(__DIR__).'/private/block-builder/vendor/autoload_runtime.php';return function (array $context) {return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);};
Logs
| Level | Channel | Message |
|---|---|---|
| INFO 20:57:29 | request |
Matched route "_profiler". {
"route": "_profiler",
"route_parameters": {
"_route": "_profiler",
"_controller": "web_profiler.controller.profiler::panelAction",
"token": "884315"
},
"request_uri": "https://www.test2md.b--w.pl/_profiler/884315?panel=exception&type=request",
"method": "GET"
}
|
| INFO 20:57:29 | deprecation |
User Deprecated: Support for MariaDB < 10.6.0 is deprecated and will be removed in DBAL 5 (AbstractMySQLDriver.php:54 called by AbstractDriverMiddleware.php:32, https://github.com/doctrine/dbal/pull/6343, package doctrine/dbal) {
"exception": {}
}
|
| INFO 20:57:29 | doctrine |
Connecting with parameters {params} {
"params": {
"driver": "pdo_mysql",
"idle_connection_ttl": 600,
"host": "127.0.0.1",
"port": 3306,
"user": "c2test2",
"password": "<redacted>",
"driverOptions": [],
"defaultTableOptions": [],
"dbname": "c2db2test",
"serverVersion": "10.3.28-MariaDB",
"charset": "utf8mb4"
}
}
|
| DEBUG 20:57:29 | doctrine |
Executing query: SELECT a0_.id AS id_0, a0_.blog_prefix AS blog_prefix_1, a0_.custom_head_code AS custom_head_code_2, a0_.custom_footer_code AS custom_footer_code_3 FROM app_configuration a0_ LIMIT 1 {
"sql": "SELECT a0_.id AS id_0, a0_.blog_prefix AS blog_prefix_1, a0_.custom_head_code AS custom_head_code_2, a0_.custom_footer_code AS custom_footer_code_3 FROM app_configuration a0_ LIMIT 1"
}
|
Stack Trace
|
NotFoundHttpException
|
|---|
Symfony\Component\HttpKernel\Exception\NotFoundHttpException:
Page not found
at vendor/symfony/framework-bundle/Controller/AbstractController.php:331
at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->createNotFoundException()
(src/Controller/FrontendController.php:66)
at App\Controller\FrontendController->show()
(vendor/symfony/http-kernel/HttpKernel.php:183)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
(vendor/symfony/http-kernel/HttpKernel.php:76)
at Symfony\Component\HttpKernel\HttpKernel->handle()
(vendor/symfony/http-kernel/Kernel.php:193)
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:32)
at require_once('/var/www/clients/client2/web40/private/block-builder/vendor/autoload_runtime.php')
(/var/www/clients/client2/web40/web/index.php:5)
|