Error 404 Not Found

GET http://test2md.b--w.pl/robots.txt

Exceptions

Page not found

Exception

Symfony\Component\HttpKernel\Exception\ NotFoundHttpException

Show exception properties
Symfony\Component\HttpKernel\Exception\NotFoundHttpException {#1445
  -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/FrontendController.php (line 66)
  1. $pageTranslation = $pageTranslationRepository->findPublishedBySlugLanguageAndSite($slug, $language, $site);
  2. if (!$pageTranslation && ($this->isGranted('ROLE_ADMIN') || $this->isGranted('ROLE_SUPER_ADMIN'))) {
  3. $pageTranslation = $pageTranslationRepository->findBySlugLanguageAndSite($slug, $language, $site);
  4. }
  5. if (!$pageTranslation) {
  6. throw $this->createNotFoundException('Page not found');
  7. }
  8. $page = $pageTranslation->getPage();
  9. if (!$page) {
  10. throw $this->createNotFoundException('Page not found');
  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/clients/client2/web40/private/block-builder/vendor/autoload_runtime.php') in /var/www/clients/client2/web40/web/index.php (line 5)
  1. <?php
  2. use App\Kernel;
  3. require_once dirname(__DIR__).'/private/block-builder/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 00:23:12 request Matched route "_profiler".
{
    "route": "_profiler",
    "route_parameters": {
        "_route": "_profiler",
        "_controller": "web_profiler.controller.profiler::panelAction",
        "token": "f31411"
    },
    "request_uri": "https://sub2.test2md.b--w.pl/_profiler/f31411?panel=exception&type=request",
    "method": "GET"
}
INFO 00:23:12 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 00:23:12 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 00:23:12 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)