Error 404 Not Found

GET https://dev.on-me.fr/privacy

Exceptions

Not Found

Exception

Symfony\Component\HttpKernel\Exception\ NotFoundHttpException

Show exception properties
Symfony\Component\HttpKernel\Exception\NotFoundHttpException {#744
  -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/AdminController.php (line 87)
  1. Request $request,
  2. string $secret,
  3. ): Response
  4. {
  5. if ($secret !== $_ENV['ADMIN_SECRET_KEY']) {
  6. throw $this->createNotFoundException();
  7. }
  8. $this->denyAccessUnlessGranted('ROLE_ADMIN');
  9. $users = $entityManager->getRepository(User::class)->findAll();
  10. return $this->render(self::ADMIN_TEMPLATE, [
  11. 'user' => $this->getUser(),
in vendor/symfony/http-kernel/HttpKernel.php -> admin_panel (line 183)
  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. $this->boot();
  2. ++$this->requestStackSize;
  3. $this->resetServices = true;
  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 29)
  1. $app = $app(...$args);
  2. exit(
  3. $runtime
  4. ->getRunner($app)
  5. ->run()
  6. );
require_once('/home/clients/e31e49303d657e6c37a733c0775f0523/sites/dev.on-me.fr/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 21:43:47 request Matched route "_profiler".
{
    "route": "_profiler",
    "route_parameters": {
        "_route": "_profiler",
        "_controller": "web_profiler.controller.profiler::panelAction",
        "token": "af1810"
    },
    "request_uri": "https://dev.on-me.fr/_profiler/af1810",
    "method": "GET"
}

Stack Trace

NotFoundHttpException
Symfony\Component\HttpKernel\Exception\NotFoundHttpException:
Not Found

  at vendor/symfony/framework-bundle/Controller/AbstractController.php:329
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->createNotFoundException()
     (src/Controller/AdminController.php:87)
  at App\Controller\AdminController->admin_panel(object(EntityManager), object(Request), 'privacy')
     (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('/home/clients/e31e49303d657e6c37a733c0775f0523/sites/dev.on-me.fr/vendor/autoload_runtime.php')
     (public/index.php:5)