https://bourg.olro.idp.lu/annonce/10366/commerce/bertrange/details

Exceptions

HTTP/1.1 500 Internal Server Error returned for "https://middleware-production.easy2pilot-v8.com/api/187c4957-cc8d-11ed-9903-a4bf01666b9a/token".

  • Exception
  • Logs
  • Stack Trace

Symfony\Component\HttpClient\Exception\ ServerException

  1.     }
  2.     private function checkStatusCode(int $code)
  3.     {
  4.         if (500 <= $code) {
  5.             throw new ServerException($this);
  6.         }
  7.         if (400 <= $code) {
  8.             throw new ClientException($this);
  9.         }
  1.         } finally {
  2.             if ($this->event && $this->event->isStarted()) {
  3.                 $this->event->stop();
  4.             }
  5.             if ($throw) {
  6.                 $this->checkStatusCode($this->response->getStatusCode());
  7.             }
  8.         }
  9.     }
  10.     public function cancel(): void
TraceableResponse->toArray() in src/Controller/Front/PropertyController.php (line 122)
  1.                     'password' => $this->getParameter('api_password'),
  2.                 ],
  3.             ]
  4.         );
  5.         return $response->toArray()['data']['token'];
  6.     }
  7.     /**
  8.      * @Route("/filtre/annonces/{advertType}")
  9.      */
PropertyController->getToken() in src/Controller/Front/PropertyController.php (line 92)
  1.     /**
  2.      * @Route("/annonce/{id}/{type}/{city}/details", name="front_property_single")
  3.      */
  4.     public function single(int $idstring $typestring $city)
  5.     {
  6.         $token $this->getToken();
  7.         $data $this->httpClient->request(
  8.             Request::METHOD_GET,
  9.             self::API_LINK $this->getParameter('api_uuid').'/annonces', [
  10.                 'headers' => [
  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.     }
  1.         $this->request $request;
  2.     }
  3.     public function run(): int
  4.     {
  5.         $response $this->kernel->handle($this->request);
  6.         $response->send();
  7.         if ($this->kernel instanceof TerminableInterface) {
  8.             $this->kernel->terminate($this->request$response);
  9.         }
in vendor/autoload_runtime.php -> run (line 35)
  1. $app $app(...$args);
  2. exit(
  3.     $runtime
  4.         ->getRunner($app)
  5.         ->run()
  6. );
require_once('/home/olro/sites/sym/bourg/vendor/autoload_runtime.php') in public/index.php (line 5)
  1. <?php
  2. use App\Kernel;
  3. require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
  4. return function (array $context) {
  5.     return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
  6. };