$destination1, $date1, $adults, $children, $infants, $origin2, $destination2, $date2, $origin3, $destination3, $date3,
$origin4, $destination4, $date4, $origin5, $destination5, $date5, $origin6, $destination6, $date6, $flights, $routeType,
$fullRequest, $requestUrl, $route, $safeQuery, $parameterBag->get('transaction_id_session_name')
);
}
}
private function availRequestValidation(Request $request, SessionInterface $session, AviaturErrorHandler $errorHandler, TwigFolder $twigFolder,
SearchFlightCookie $flightCookie, AviaturPixeles $aviaturPixeles, $origin1, $destination1, $date1, $adults,
$children, $infants, $origin2, $destination2, $date2, $origin3, $destination3, $date3, $origin4, $destination4,
$date4, $origin5, $destination5, $date5, $origin6, $destination6, $date6, $flights, $routeType, $fullRequest,
$this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);
$controller = $event->getController();
$arguments = $event->getArguments();
// call controller
$response = $controller(...$arguments);
// view
if (!$response instanceof Response) {
$event = new ViewEvent($this, $request, $type, $response);
$this->dispatcher->dispatch($event, KernelEvents::VIEW);
{
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
$this->requestStack->push($request);
try {
return $this->handleRaw($request, $type);
} catch (\Exception $e) {
if ($e instanceof RequestExceptionInterface) {
$e = new BadRequestHttpException($e->getMessage(), $e);
}
if (false === $catch) {
$this->boot();
++$this->requestStackSize;
$this->resetServices = true;
try {
return $this->getHttpKernel()->handle($request, $type, $catch);
} finally {
--$this->requestStackSize;
}
}
Request::setTrustedHosts([$trustedHosts]);
}
$kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);
$request = Request::createFromGlobals();
$response = $kernel->handle($request);
$response->send();
$kernel->terminate($request, $response);
No log messages
ControllerDoesNotReturnResponseException
|
---|
Symfony\Component\HttpKernel\Exception\ControllerDoesNotReturnResponseException: The controller must return a "Symfony\Component\HttpFoundation\Response" object but it returned a string ("/?rtitle=QnVzcXVlZGEgaW52YWxpZGE=&rtext=RGVzdGlubyBubyByZWNvbm9jaWRv&rimage=ZXJyb3I="). at src/Aviatur/FlightBundle/Controller/FlightAvailabilityController.php:127 at 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() (web/index.php:24) |