"0.28699493408203 http://sis.silverjet.nl/nosvn/4site3.php?act=get_cache&branche=BE&lang=fr&"
Hotel not found (404 Not Found)

Symfony Exception

NotFoundHttpException

HTTP 404 Not Found

Hotel not found

Exception

Symfony\Component\HttpKernel\Exception\ NotFoundHttpException

  1.      *
  2.      * @final
  3.      */
  4.     protected function createNotFoundException(string $message 'Not Found', \Exception $previous null): NotFoundHttpException
  5.     {
  6.         return new NotFoundHttpException($message$previous);
  7.     }
  8.     /**
  9.      * Returns an AccessDeniedException.
  10.      *
Controller->createNotFoundException('Hotel not found') in src/Controller/HotelController.php (line 36)
  1.         TextConversions $textConversions,
  2.         Packages $assetsManager
  3.     ) {
  4.         $data $hotelProvider->getHotelBySlugs($country_slug$destination_slug$slug);
  5.         if (!$data || !$data['active']) {
  6.             throw $this->createNotFoundException('Hotel not found');
  7.         }
  8.         if (!$data['hotel_show_price']) {
  9.             $isShowPanel false;
  10.         }
  1.         $this->dispatcher->dispatch(KernelEvents::CONTROLLER_ARGUMENTS$event);
  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 GetResponseForControllerResultEvent($this$request$type$response);
  9.             $this->dispatcher->dispatch(KernelEvents::VIEW$event);
  1.     public function handle(Request $request$type HttpKernelInterface::MASTER_REQUEST$catch true)
  2.     {
  3.         $request->headers->set('X-Php-Ob-Level'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 43)
  1.     setcookie"iUserID"$_GET['iUserID'], time() + 60 60 24 30"/" );
  2. }
  3. $kernel = new Kernel($_SERVER['APP_ENV'] ?? 'dev'$_SERVER['APP_DEBUG'] ?? ('prod' !== ($_SERVER['APP_ENV'] ?? 'dev')));
  4. $request Request::createFromGlobals();
  5. $response $kernel->handle($request);
  6. $response->send();
  7. $kernel->terminate($request$response);

Stack Trace

NotFoundHttpException

Symfony\Component\HttpKernel\Exception\NotFoundHttpException:
Hotel not found

  at vendor/symfony/framework-bundle/Controller/ControllerTrait.php:286
  at Symfony\Bundle\FrameworkBundle\Controller\Controller->createNotFoundException('Hotel not found')
     (src/Controller/HotelController.php:36)
  at App\Controller\HotelController->view('chypre', 'limassol', 'amathus-beach-hotel-limassol', object(Request), object(HotelProvider), object(PriceProvider), object(SisProvider), object(BreadcrumbHelper), object(Seo), object(TextConversions), object(Packages))
     (vendor/symfony/http-kernel/HttpKernel.php:150)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
     (vendor/symfony/http-kernel/HttpKernel.php:67)
  at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
     (vendor/symfony/http-kernel/Kernel.php:198)
  at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
     (public/index.php:43)