https://dev5.tile.expert/en-lv/chatb

Exceptions

old chat page has been disabled in admin panel

Exception

Symfony\Component\HttpKernel\Exception\ NotFoundHttpException

  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/FlexApp/Controller/ChatBController.php (line 204)
  1.             throw new NotFoundHttpException();
  2.         }
  3.         if (!($boolDBSettingRepository->findOneByName('old_chat') && $boolDBSettingRepository->findOneByName('old_chat')->getVal())
  4.             && !$this->isInterview()
  5.         ) {
  6.             throw $this->createNotFoundException('old chat page has been disabled in admin panel');
  7.         }
  8.         /** @var ChatB|null $chat */
  9.         $chat $this->chatBRepository->findOneBy(['token' => UserHelper::getInstance()->getToken()]);
  1.         $this->dispatcher->dispatch($eventKernelEvents::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);
  9.             $this->dispatcher->dispatch($eventKernelEvents::VIEW);
  1.     {
  2.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  3.         $this->requestStack->push($request);
  4.         try {
  5.             return $this->handleRaw($request$type);
  6.         } catch (\Exception $e) {
  7.             if ($e instanceof RequestExceptionInterface) {
  8.                 $e = new BadRequestHttpException($e->getMessage(), $e);
  9.             }
  10.             if (false === $catch) {
  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.     }
Kernel->handle() in public/index.php (line 34)
  1. }
  2. Request::enableHttpMethodParameterOverride();
  3. $request Request::createFromGlobals();
  4. define('BASE_URL'$request->getScheme() . '://tile.expert/');
  5. $response $kernel->handle($request);
  6. $response->send();
  7. $kernel->terminate($request$response);
require('/var/www/dev5.tile.expert/public/index.php') in web/index.php (line 3)
  1. <?php
  2. require '../public/index.php';

Logs

Level Channel Message
INFO 03:17:24 php User Deprecated: Since symfony/http-foundation 5.3: "Symfony\Component\HttpFoundation\RequestStack::getMasterRequest()" is deprecated, use "getMainRequest()" instead.
{
    "exception": {}
}
INFO 03:17:24 request Matched route "_profiler".
{
    "route": "_profiler",
    "route_parameters": {
        "_route": "_profiler",
        "_controller": "web_profiler.controller.profiler::panelAction",
        "token": "621666"
    },
    "request_uri": "https://dev5.tile.expert/_profiler/621666",
    "method": "GET"
}
INFO 03:17:24 php User Deprecated: Since symfony/http-foundation 5.3: "Symfony\Component\HttpFoundation\RequestStack::getMasterRequest()" is deprecated, use "getMainRequest()" instead.
{
    "exception": {}
}
INFO 03:17:24 php User Deprecated: Since symfony/framework-bundle 5.2: Accessing the "security.csrf.token_manager" service directly from the container is deprecated, use dependency injection instead.
{
    "exception": {}
}
INFO 03:17:24 php User Deprecated: Since symfony/framework-bundle 5.3: The "session.storage.factory.service" service is deprecated, use "session.storage.factory.native", "session.storage.factory.php_bridge" or "session.storage.factory.mock_file" instead.
{
    "exception": {}
}
INFO 03:17:24 php User Deprecated: Since symfony/framework-bundle 5.3: The "session.storage.native" service is deprecated, use "session.storage.factory.native" instead.
{
    "exception": {}
}
INFO 03:17:24 php User Deprecated: Since symfony/framework-bundle 5.3: The "session.storage.metadata_bag" service is deprecated, create your own "session.storage.factory" instead.
{
    "exception": {}
}

Stack Trace

NotFoundHttpException
Symfony\Component\HttpKernel\Exception\NotFoundHttpException:
old chat page has been disabled in admin panel

  at vendor/symfony/framework-bundle/Controller/AbstractController.php:340
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->createNotFoundException()
     (src/FlexApp/Controller/ChatBController.php:204)
  at FlexApp\Controller\ChatBController->chatBPage()
     (vendor/symfony/http-kernel/HttpKernel.php:163)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:75)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:202)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (public/index.php:34)
  at require('/var/www/dev5.tile.expert/public/index.php')
     (web/index.php:3)