Sorry, there is a problem getting a tokenSorry, there is a problem getting a token Not found (404 Not Found)

Symfony Exception

NotFoundHttpException

HTTP 404 Not Found

Not found

Exception

Symfony\Component\HttpKernel\Exception\ NotFoundHttpException

  1.                 $value $cachedItem->get();
  2.             }
  3.             if ($value === null) {
  4.                 $this->logger->error('Not found'$data);
  5.                 throw new NotFoundHttpException('Not found');
  6.             }
  7.         } else {
  8.             $value $this->getCallResults($data$first_result$replaces);
  9.         }
TKApi->execute(array('entity' => 'errorpage', 'fields' => array('code', 'header', 'subtitle', 'customer_support'), 'filters' => array(array('field' => 'enabled', 'value' => true, 'operator' => '='), array('field' => 'deleted', 'value' => false, 'operator' => '='), array('field' => 'code', 'value' => 404, 'operator' => '='))), true) in src/Service/TKApi/Traits/Page.php (line 293)
  1.      * @return mixed|null
  2.      */
  3.     public function errorPage($code)
  4.     {
  5.         $filters = [$this->createFilter('code'$code)];
  6.         return $this->execute($this->getNodeErrorPage($filters), true);
  7.     }
  8. }
TKApi->errorPage(404) in src/Controller/BaseController.php (line 543)
  1.           $response
  2.         );
  3.     }
  4.     public function renderErrorTemplate($code$locale null) {
  5.         $page     $this->getTkApi()->errorPage($code);
  6.         $homepage $this->getTkApi()->homePage();
  7.         if ($page === null) {
  8.             $page = [
  9.               "code" => $code,
BaseController->renderErrorTemplate(404, 'es') in src/Controller/StaticPagesController.php (line 227)
  1.     public function staticPages(Request $request$url)
  2.     {
  3.         try {
  4.             $page $this->getTkApi()->page($url);
  5.         } catch (\Exception $e) {
  6.             return $this->renderErrorTemplate($e->getStatusCode(), $request->getLocale());
  7.         }
  8.         if (!$page || (isset($page['error']) && !empty($page['error']))) {
  9.             return $this->renderErrorTemplate(500);
  10.         }
in vendor/symfony/http-kernel/HttpKernel.php -> staticPages (line 157)
  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.     public function handle(Request $requestint $type HttpKernelInterface::MASTER_REQUESTbool $catch true)
  2.     {
  3.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  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(object(Request)) in public/index.php (line 38)
  1. /* If the cache does not exist, create it */
  2. if (!is_dir($kernel->getCacheDir())) {
  3.     CommandService::clearCache($_ENV["APP_ENV"]);
  4. }
  5. $response $kernel->handle($request);
  6. $response->send();
  7. $kernel->terminate($request$response);

Logs

No log messages

Stack Trace

NotFoundHttpException

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

  at src/Service/TKApi/TKApi.php:304
  at App\Service\TKApi\TKApi->execute(array('entity' => 'errorpage', 'fields' => array('code', 'header', 'subtitle', 'customer_support'), 'filters' => array(array('field' => 'enabled', 'value' => true, 'operator' => '='), array('field' => 'deleted', 'value' => false, 'operator' => '='), array('field' => 'code', 'value' => 404, 'operator' => '='))), true)
     (src/Service/TKApi/Traits/Page.php:293)
  at App\Service\TKApi\TKApi->errorPage(404)
     (src/Controller/BaseController.php:543)
  at App\Controller\BaseController->renderErrorTemplate(404, 'es')
     (src/Controller/StaticPagesController.php:227)
  at App\Controller\StaticPagesController->staticPages(object(Request), 'build/listing_page_js.e1e65537.js')
     (vendor/symfony/http-kernel/HttpKernel.php:157)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
     (vendor/symfony/http-kernel/HttpKernel.php:79)
  at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
     (vendor/symfony/http-kernel/Kernel.php:196)
  at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
     (public/index.php:38)