Exceptions
Exception
Symfony\Component\HttpKernel\Exception\ NotFoundHttpException
Show exception properties
Symfony\Component\HttpKernel\Exception\NotFoundHttpException {#1662 -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/Cms/Controller/CmsPublicController.php
(line 41)
public function show(string $slug, Request $request): Response{$page = $this->cmsPageRepository->findPublishedBySlug($slug);if ($page === null) {throw $this->createNotFoundException(sprintf('CMS page "%s" not found.', $slug));}// Homepage is always canonical at /. Redirect to avoid duplicate content.if ($page->isHomepage()) {$lang = (string) $request->query->get('lang', '');
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 191)
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/vdeskbackoffice/application/releases/64/vendor/autoload_runtime.php')
in
public/index.php
(line 5)
<?phpuse App\Kernel;require_once dirname(__DIR__).'/vendor/autoload_runtime.php';return function (array $context) {return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);};
Logs
| Level | Channel | Message |
|---|---|---|
| INFO 01:52:28 | deprecation |
User Deprecated: The Liip\ImagineBundle\Templating\FilterTrait trait is deprecated since version 2.7 and will be removed in 3.0; use Twig instead. {
"exception": {}
}
|
| INFO 01:52:28 | deprecation |
User Deprecated: The Liip\ImagineBundle\Templating\FilterExtension class is deprecated since version 2.7 and will be removed in 3.0; configure "liip_imagine.twig.mode" to "lazy" instead. {
"exception": {}
}
|
| INFO 01:52:28 | request |
Matched route "_profiler". {
"route": "_profiler",
"route_parameters": {
"_route": "_profiler",
"_controller": "web_profiler.controller.profiler::panelAction",
"token": "6815c8"
},
"request_uri": "https://vendordesk-dev.marello.com/_profiler/6815c8?panel=exception&type=request",
"method": "GET"
}
|
| INFO 01:52:28 | doctrine |
Connecting with parameters {params} {
"params": {
"driver": "pdo_pgsql",
"idle_connection_ttl": 600,
"host": "127.0.0.1",
"port": 5432,
"user": "vdeskbackoffice_db",
"password": "<redacted>",
"driverOptions": [],
"defaultTableOptions": [],
"dbname": "vdeskbackoffice_db",
"serverVersion": "16",
"charset": "utf8"
}
}
|
| DEBUG 01:52:28 | doctrine | Executing statement: SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.domain AS domain_4, t0.is_active AS is_active_5, t0.api_token AS api_token_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8 FROM organization t0 WHERE t0.domain = ? AND t0.is_active = ? LIMIT 1 (parameters: {params}, types: {types}) |
Stack Trace
|
NotFoundHttpException
|
|---|
Symfony\Component\HttpKernel\Exception\NotFoundHttpException:
CMS page "static/style/protect/index.js" not found.
at vendor/symfony/framework-bundle/Controller/AbstractController.php:326
at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->createNotFoundException()
(src/Cms/Controller/CmsPublicController.php:41)
at App\Cms\Controller\CmsPublicController->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:191)
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/vdeskbackoffice/application/releases/64/vendor/autoload_runtime.php')
(public/index.php:5)
|