(404 Not Found)

Exception

Symfony\Component\HttpKernel\Exception\ NotFoundHttpException

  1.             $object $this->ibeObjectRepository->findOneBy([
  2.                 'id' => $objectId
  3.             ]);
  4.             if (!$object) {
  5.                 throw new NotFoundHttpException();
  6.             }
  7.             $objectArray $object->toArray(true);
  8.             $objectArray['name'] = $objectArray['description'];
  9.             $objectArray['country'] = Intl::getRegionBundle()->getCountryName($objectArray['country']);
ComaObjectDataProvider->getObjectData() in vendor/hrs-ds/coma/src/HRSDestination/ComaBundle/Controller/FormController.php (line 70)
  1.         $children->setAge([]);
  2.         $room->setChildren($children);
  3.         $offerData->setRoom([$room]);
  4.         $objectDataProvider $this->get('hrs_destination_coma.provider.object_data');
  5.         $objects $objectDataProvider->getObjectData();
  6.         if ($objects) {
  7.             $externalIds = [];
  8.             foreach ($objects as $object) {
  9.                 $externalId = new ExternalId();
  10.                 $externalId->setAccommodationId($object->getId());
FormController->showAction(object(Request)) in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php (line 151)
  1.         $this->dispatcher->dispatch(KernelEvents::CONTROLLER_ARGUMENTS$event);
  2.         $controller $event->getController();
  3.         $arguments $event->getArguments();
  4.         // call controller
  5.         $response = \call_user_func_array($controller$arguments);
  6.         // view
  7.         if (!$response instanceof Response) {
  8.             $event = new GetResponseForControllerResultEvent($this$request$type$response);
  9.             $this->dispatcher->dispatch(KernelEvents::VIEW$event);
HttpKernel->handleRaw(object(Request), 2) in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php (line 68)
  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.         $request $this->container->get('request_stack')->getCurrentRequest();
  2.         $path['_forwarded'] = $request->attributes;
  3.         $path['_controller'] = $controller;
  4.         $subRequest $request->duplicate($querynull$path);
  5.         return $this->container->get('http_kernel')->handle($subRequestHttpKernelInterface::SUB_REQUEST);
  6.     }
  7.     /**
  8.      * Returns a RedirectResponse to the given URL.
  9.      *
Controller->forward('HRSDestinationComaBundle:Form:show') in src/HRSDestination/BMBundle/Controller/ComaController.php (line 25)
  1.         if($configuration->getExtranetEnabled() && isset($_POST['form']['_token'])) {
  2.             Extranet::instance()->createRequest($_POST);
  3.             $response $this->forward('HRSDestinationComaBundle:Form:successPage');
  4.         } else {
  5.             $response $this->forward('HRSDestinationComaBundle:Form:show');
  6.             $content $response->getContent();
  7.             if($configuration->getExtranetEnabled()) {
  8.                 $content Extranet::instance()->modifyComaFormWithExtranetData($content$configuration->getExtranetApiKey());
  9.             }
  1.         $this->dispatcher->dispatch(KernelEvents::CONTROLLER_ARGUMENTS$event);
  2.         $controller $event->getController();
  3.         $arguments $event->getArguments();
  4.         // call controller
  5.         $response = \call_user_func_array($controller$arguments);
  6.         // view
  7.         if (!$response instanceof Response) {
  8.             $event = new GetResponseForControllerResultEvent($this$request$type$response);
  9.             $this->dispatcher->dispatch(KernelEvents::VIEW$event);
HttpKernel->handleRaw(object(Request), 1) in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php (line 68)
  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) {
HttpKernel->handle(object(Request), 1, true) in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php (line 200)
  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 web/app.php (line 20)
  1. if (PHP_VERSION_ID 70000) {
  2.     $kernel->loadClassCache();
  3. }
  4. $request Request::createFromGlobals();
  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:at src/HRSDestination/BMBundle/Coma/ComaObjectDataProvider.php:61 at HRSDestination\BMBundle\Coma\ComaObjectDataProvider->getObjectData() (vendor/hrs-ds/coma/src/HRSDestination/ComaBundle/Controller/FormController.php:70) at HRSDestination\ComaBundle\Controller\FormController->showAction(object(Request)) (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:151) at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 2) (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:68) at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 2) (vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Controller/ControllerTrait.php:106) at Symfony\Bundle\FrameworkBundle\Controller\Controller->forward('HRSDestinationComaBundle:Form:show') (src/HRSDestination/BMBundle/Controller/ComaController.php:25) at HRSDestination\BMBundle\Controller\ComaController->showAction() (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:151) at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1) (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:68) at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true) (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:200) at Symfony\Component\HttpKernel\Kernel->handle(object(Request)) (web/app.php:20)