Error 404 Not Found

GET https://mcp.telaria.dev/en/docs-files/pilotage/starter-pack/settings.json.tpl

Forwarded to ErrorController (8b14e0)

Exceptions

Document introuvable ou non publiable.

Exception

Symfony\Component\HttpKernel\Exception\ NotFoundHttpException

Show exception properties
Symfony\Component\HttpKernel\Exception\NotFoundHttpException {#950
  -statusCode: 404
  -headers: []
}
  1. *
  2. * throw $this->createNotFoundException('Page not found!');
  3. */
  4. protected function createNotFoundException(string $message = 'Not Found', ?\Throwable $previous = null): NotFoundHttpException
  5. {
  6. return new NotFoundHttpException($message, $previous);
  7. }
  8. /**
  9. * Returns an AccessDeniedException.
  10. *
AbstractController->createNotFoundException() in src/Controller/DocsController.php (line 46)
  1. #[Route('/{path}', name: 'show', requirements: ['path' => '.+'], methods: ['GET'])]
  2. public function show(string $path): Response
  3. {
  4. $markdown = $this->library->read($path);
  5. if (null === $markdown) {
  6. throw $this->createNotFoundException('Document introuvable ou non publiable.');
  7. }
  8. return $this->render('docs/index.html.twig', [
  9. 'tree' => $this->library->tree(),
  10. 'current' => $path,
  1. $this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);
  2. $controller = $event->getController();
  3. $arguments = $event->getArguments();
  4. // call controller
  5. $response = $controller(...$arguments);
  6. // view
  7. if (!$response instanceof Response) {
  8. $event = new ViewEvent($this, $request, $type, $response, $event);
  9. $this->dispatcher->dispatch($event, KernelEvents::VIEW);
  1. $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  2. $this->requestStack->push($request);
  3. $response = null;
  4. try {
  5. return $response = $this->handleRaw($request, $type);
  6. } catch (\Throwable $e) {
  7. if ($e instanceof \Error && !$this->handleAllThrowables) {
  8. throw $e;
  9. }
  1. if (!$this->handlingHttpCache) {
  2. $this->resetServices = true;
  3. }
  4. try {
  5. return $this->getHttpKernel()->handle($request, $type, $catch);
  6. } finally {
  7. --$this->requestStackSize;
  8. }
  9. }
  1. ) {
  2. }
  3. public function run(): int
  4. {
  5. $response = $this->kernel->handle($this->request);
  6. if (Kernel::VERSION_ID >= 60400) {
  7. $response->send(false);
  8. if (\function_exists('fastcgi_finish_request') && !$this->debug) {
in vendor/autoload_runtime.php -> run (line 32)
  1. $app = $app(...$args);
  2. exit(
  3. $runtime
  4. ->getRunner($app)
  5. ->run()
  6. );
require_once('/var/www/telaria-dev/vendor/autoload_runtime.php') in public/index.php (line 5)
  1. <?php
  2. use App\Kernel;
  3. require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
  4. return function (array $context) {
  5. return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
  6. };

Logs

Level Channel Message
INFO 03:06:01 doctrine Connecting with parameters {params}
{
    "params": {
        "driver": "pdo_mysql",
        "idle_connection_ttl": 600,
        "host": "127.0.0.1",
        "port": 3306,
        "user": "telariauser",
        "password": "<redacted>",
        "driverOptions": [],
        "defaultTableOptions": [],
        "dbname": "telaria_dev",
        "serverVersion": "8.4.7",
        "charset": "utf8mb4"
    }
}
DEBUG 03:06:01 doctrine Executing query: SELECT s0_.id AS id_0, s0_.host AS host_1, s0_.aliases AS aliases_2, s0_.slug AS slug_3, s0_.label AS label_4, s0_.name AS name_5, s0_.locale_default AS locale_default_6, s0_.layout_template AS layout_template_7, s0_.theme AS theme_8, s0_.brand_domain AS brand_domain_9, s0_.brand_tld AS brand_tld_10, s0_.contact_email AS contact_email_11, s0_.sender_email AS sender_email_12, s0_.home_slug AS home_slug_13, s0_.og_image_default AS og_image_default_14, s0_.enabled AS enabled_15, s0_.is_primary AS is_primary_16, s0_.created_at AS created_at_17, s0_.updated_at AS updated_at_18 FROM site s0_ WHERE s0_.enabled = 1 ORDER BY s0_.is_primary DESC, s0_.label ASC
{
    "sql": "SELECT s0_.id AS id_0, s0_.host AS host_1, s0_.aliases AS aliases_2, s0_.slug AS slug_3, s0_.label AS label_4, s0_.name AS name_5, s0_.locale_default AS locale_default_6, s0_.layout_template AS layout_template_7, s0_.theme AS theme_8, s0_.brand_domain AS brand_domain_9, s0_.brand_tld AS brand_tld_10, s0_.contact_email AS contact_email_11, s0_.sender_email AS sender_email_12, s0_.home_slug AS home_slug_13, s0_.og_image_default AS og_image_default_14, s0_.enabled AS enabled_15, s0_.is_primary AS is_primary_16, s0_.created_at AS created_at_17, s0_.updated_at AS updated_at_18 FROM site s0_ WHERE s0_.enabled = 1 ORDER BY s0_.is_primary DESC, s0_.label ASC"
}
INFO 03:06:01 request Matched route "_profiler".
{
    "route": "_profiler",
    "route_parameters": {
        "_route": "_profiler",
        "_controller": "web_profiler.controller.profiler::panelAction",
        "token": "a69a9a"
    },
    "request_uri": "https://mcp.telaria.dev/_profiler/a69a9a?panel=exception&type=request",
    "method": "GET"
}

Stack Trace

NotFoundHttpException
Symfony\Component\HttpKernel\Exception\NotFoundHttpException:
Document introuvable ou non publiable.

  at vendor/symfony/framework-bundle/Controller/AbstractController.php:326
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->createNotFoundException()
     (src/Controller/DocsController.php:46)
  at App\Controller\DocsController->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/telaria-dev/vendor/autoload_runtime.php')
     (public/index.php:5)