$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->finishRequest($request, $type);
throw $e;
$throwable = $event->getThrowable();
$request = $this->duplicateRequest($throwable, $event->getRequest());
try {
$response = $event->getKernel()->handle($request, HttpKernelInterface::SUB_REQUEST, false);
} catch (\Exception $e) {
$f = FlattenException::createFromThrowable($e);
$this->logException($e, sprintf('Exception thrown when handling an exception (%s: %s at %s line %s)', $f->getClass(), $f->getMessage(), $e->getFile(), $e->getLine()));
$this->called = true;
$this->priority = $dispatcher->getListenerPriority($eventName, $this->listener);
$e = $this->stopwatch->start($this->name, 'event_listener');
($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
if ($e->isStarted()) {
$e->stop();
}
foreach ($listeners as $listener) {
if ($stoppable && $event->isPropagationStopped()) {
break;
}
$listener($event, $eventName, $this);
}
}
/**
* Sorts the internal list of listeners for the given event by priority.
} else {
$listeners = $this->getListeners($eventName);
}
if ($listeners) {
$this->callListeners($listeners, $eventName, $event);
}
return $event;
}
try {
$this->beforeDispatch($eventName, $event);
try {
$e = $this->stopwatch->start($eventName, 'section');
try {
$this->dispatcher->dispatch($event, $eventName);
} finally {
if ($e->isStarted()) {
$e->stop();
}
}
* @throws \Exception
*/
private function handleThrowable(\Throwable $e, Request $request, int $type): Response
{
$event = new ExceptionEvent($this, $request, $type, $e);
$this->dispatcher->dispatch($event, KernelEvents::EXCEPTION);
// a listener might have replaced the exception
$e = $event->getThrowable();
if (!$event->hasResponse()) {
if ($pop = $request !== $this->requestStack->getMainRequest()) {
$this->requestStack->push($request);
}
try {
$response = $this->handleThrowable($exception, $request, self::MAIN_REQUEST);
} finally {
if ($pop) {
$this->requestStack->pop();
}
}
if ($hasRun) {
throw $e;
}
$hasRun = true;
$kernel->terminateWithException($e, $request);
};
}
} elseif ($event instanceof ConsoleEvent && $app = $event->getCommand()->getApplication()) {
$output = $event->getOutput();
if ($output instanceof ConsoleOutputInterface) {
$this->exceptionHandler = null;
}
try {
if (null !== $exceptionHandler) {
return $exceptionHandler($exception);
}
$handlerException = $handlerException ?: $exception;
} catch (\Throwable $handlerException) {
}
if ($exception === $handlerException && null === $this->exceptionHandler) {
{
if ((null !== $request = end($this->requests) ?: null) && $request->hasSession()) {
return $request->getSession();
}
throw new SessionNotFoundException();
}
}
$this->router = $router;
$this->customerTwoFactorAuthService = $customerTwoFactorAuthService;
$this->baseInfo = $baseInfoRepository->find(1);
$this->twoFactorAuthTypeRepository = $twoFactorAuthTypeRepository;
$this->twoFactorAuthCustomerCookieRepository = $twoFactorAuthCustomerCookieRepository;
$this->session = $requestStack->getSession();
$this->default_routes = $this->customerTwoFactorAuthService->getDefaultAuthRoutes();
$this->include_routes = $this->customerTwoFactorAuthService->getIncludeRoutes();
}
if (isset($this->privates['Plugin\\TwoFactorAuthCustomer42\\EventListener\\CustomerTwoFactorAuthListener'])) {
return $this->privates['Plugin\\TwoFactorAuthCustomer42\\EventListener\\CustomerTwoFactorAuthListener'];
}
return $this->privates['Plugin\\TwoFactorAuthCustomer42\\EventListener\\CustomerTwoFactorAuthListener'] = new \Plugin\TwoFactorAuthCustomer42\EventListener\CustomerTwoFactorAuthListener(($this->privates['Eccube\\Request\\Context'] ?? $this->getContextService()), ($this->services['router'] ?? $this->getRouterService()), $a, ($this->privates['Plugin\\TwoFactorAuthCustomer42\\Repository\\TwoFactorAuthTypeRepository'] ?? $this->getTwoFactorAuthTypeRepositoryService()), ($this->privates['Plugin\\TwoFactorAuthCustomer42\\Repository\\TwoFactorAuthCustomerCookieRepository'] ?? $this->getTwoFactorAuthCustomerCookieRepositoryService()), ($this->privates['Eccube\\Repository\\BaseInfoRepository'] ?? $this->getBaseInfoRepositoryService()), ($this->services['request_stack'] ?? ($this->services['request_stack'] = new \Symfony\Component\HttpFoundation\RequestStack())));
}
/**
* Gets the private 'Plugin\TwoFactorAuthCustomer42\Repository\TwoFactorAuthConfigRepository' shared autowired service.
*
}, 1 => 'onRenderAdminCustomerEdit'], 0);
$instance->addListener('kernel.controller_arguments', [0 => function () {
return ($this->privates['Plugin\\TwoFactorAuthCustomer42\\EventListener\\CustomerPersonalValidationListener'] ?? $this->getCustomerPersonalValidationListenerService());
}, 1 => 'onKernelController'], 7);
$instance->addListener('kernel.controller_arguments', [0 => function () {
return ($this->privates['Plugin\\TwoFactorAuthCustomer42\\EventListener\\CustomerTwoFactorAuthListener'] ?? $this->getCustomerTwoFactorAuthListenerService());
}, 1 => 'onKernelController'], 7);
$instance->addListener('Symfony\\Component\\Security\\Http\\Event\\LoginSuccessEvent', [0 => function () {
return ($this->privates['Plugin\\TwoFactorAuthCustomer42\\EventListener\\CustomerTwoFactorAuthListener'] ?? $this->getCustomerTwoFactorAuthListenerService());
}, 1 => 'onLoginSuccess'], 0);
$instance->addListener('Symfony\\Component\\Security\\Http\\Event\\LogoutEvent', [0 => function () {
}
foreach ($this->listeners[$eventName] as $priority => &$listeners) {
foreach ($listeners as $k => &$v) {
if ($v !== $listener && \is_array($v) && isset($v[0]) && $v[0] instanceof \Closure && 2 >= \count($v)) {
$v[0] = $v[0]();
$v[1] = $v[1] ?? '__invoke';
}
if ($v === $listener || ($listener instanceof \Closure && $v == $listener)) {
unset($listeners[$k], $this->sorted[$eventName], $this->optimized[$eventName]);
}
foreach ($this->dispatcher->getListeners($eventName) as $listener) {
$priority = $this->getListenerPriority($eventName, $listener);
$wrappedListener = new WrappedListener($listener instanceof WrappedListener ? $listener->getWrappedListener() : $listener, null, $this->stopwatch, $this);
$this->wrappedListeners[$eventName][] = $wrappedListener;
$this->dispatcher->removeListener($eventName, $listener);
$this->dispatcher->addListener($eventName, $wrappedListener, $priority);
$this->callStack->attach($wrappedListener, [$eventName, $this->currentRequestHash]);
}
}
if (null !== $this->logger && $event instanceof StoppableEventInterface && $event->isPropagationStopped()) {
$this->logger->debug(sprintf('The "%s" event is already stopped. No listeners have been called.', $eventName));
}
$this->preProcess($eventName);
try {
$this->beforeDispatch($eventName, $event);
try {
$e = $this->stopwatch->start($eventName, 'section');
try {
// controller arguments
$arguments = $this->argumentResolver->getArguments($request, $controller);
$event = new ControllerArgumentsEvent($this, $controller, $arguments, $request, $type);
$this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);
$controller = $event->getController();
$arguments = $event->getArguments();
// call controller
$response = $controller(...$arguments);
{
$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) {
$throwable = $event->getThrowable();
$request = $this->duplicateRequest($throwable, $event->getRequest());
try {
$response = $event->getKernel()->handle($request, HttpKernelInterface::SUB_REQUEST, false);
} catch (\Exception $e) {
$f = FlattenException::createFromThrowable($e);
$this->logException($e, sprintf('Exception thrown when handling an exception (%s: %s at %s line %s)', $f->getClass(), $f->getMessage(), $e->getFile(), $e->getLine()));
$this->called = true;
$this->priority = $dispatcher->getListenerPriority($eventName, $this->listener);
$e = $this->stopwatch->start($this->name, 'event_listener');
($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
if ($e->isStarted()) {
$e->stop();
}
foreach ($listeners as $listener) {
if ($stoppable && $event->isPropagationStopped()) {
break;
}
$listener($event, $eventName, $this);
}
}
/**
* Sorts the internal list of listeners for the given event by priority.
} else {
$listeners = $this->getListeners($eventName);
}
if ($listeners) {
$this->callListeners($listeners, $eventName, $event);
}
return $event;
}
try {
$this->beforeDispatch($eventName, $event);
try {
$e = $this->stopwatch->start($eventName, 'section');
try {
$this->dispatcher->dispatch($event, $eventName);
} finally {
if ($e->isStarted()) {
$e->stop();
}
}
* @throws \Exception
*/
private function handleThrowable(\Throwable $e, Request $request, int $type): Response
{
$event = new ExceptionEvent($this, $request, $type, $e);
$this->dispatcher->dispatch($event, KernelEvents::EXCEPTION);
// a listener might have replaced the exception
$e = $event->getThrowable();
if (!$event->hasResponse()) {
if ($pop = $request !== $this->requestStack->getMainRequest()) {
$this->requestStack->push($request);
}
try {
$response = $this->handleThrowable($exception, $request, self::MAIN_REQUEST);
} finally {
if ($pop) {
$this->requestStack->pop();
}
}
if ($hasRun) {
throw $e;
}
$hasRun = true;
$kernel->terminateWithException($e, $request);
};
}
} elseif ($event instanceof ConsoleEvent && $app = $event->getCommand()->getApplication()) {
$output = $event->getOutput();
if ($output instanceof ConsoleOutputInterface) {
$this->exceptionHandler = null;
}
try {
if (null !== $exceptionHandler) {
return $exceptionHandler($exception);
}
$handlerException = $handlerException ?: $exception;
} catch (\Throwable $handlerException) {
}
if ($exception === $handlerException && null === $this->exceptionHandler) {
$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->finishRequest($request, $type);
throw $e;
$throwable = $event->getThrowable();
$request = $this->duplicateRequest($throwable, $event->getRequest());
try {
$response = $event->getKernel()->handle($request, HttpKernelInterface::SUB_REQUEST, false);
} catch (\Exception $e) {
$f = FlattenException::createFromThrowable($e);
$this->logException($e, sprintf('Exception thrown when handling an exception (%s: %s at %s line %s)', $f->getClass(), $f->getMessage(), $e->getFile(), $e->getLine()));
$this->called = true;
$this->priority = $dispatcher->getListenerPriority($eventName, $this->listener);
$e = $this->stopwatch->start($this->name, 'event_listener');
($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
if ($e->isStarted()) {
$e->stop();
}
foreach ($listeners as $listener) {
if ($stoppable && $event->isPropagationStopped()) {
break;
}
$listener($event, $eventName, $this);
}
}
/**
* Sorts the internal list of listeners for the given event by priority.
} else {
$listeners = $this->getListeners($eventName);
}
if ($listeners) {
$this->callListeners($listeners, $eventName, $event);
}
return $event;
}
try {
$this->beforeDispatch($eventName, $event);
try {
$e = $this->stopwatch->start($eventName, 'section');
try {
$this->dispatcher->dispatch($event, $eventName);
} finally {
if ($e->isStarted()) {
$e->stop();
}
}
* @throws \Exception
*/
private function handleThrowable(\Throwable $e, Request $request, int $type): Response
{
$event = new ExceptionEvent($this, $request, $type, $e);
$this->dispatcher->dispatch($event, KernelEvents::EXCEPTION);
// a listener might have replaced the exception
$e = $event->getThrowable();
if (!$event->hasResponse()) {
$this->finishRequest($request, $type);
throw $e;
}
return $this->handleThrowable($e, $request, $type);
} finally {
$this->requestStack->pop();
}
}
$this->boot();
++$this->requestStackSize;
$this->resetServices = true;
try {
return $this->getHttpKernel()->handle($request, $type, $catch);
} finally {
--$this->requestStackSize;
}
}
}
}
}
$kernel = new Kernel($env, $debug);
$response = $kernel->handle($request);
$response->send();
$kernel->terminate($request, $response);
{
if ((null !== $request = end($this->requests) ?: null) && $request->hasSession()) {
return $request->getSession();
}
throw new SessionNotFoundException();
}
}
$this->router = $router;
$this->customerTwoFactorAuthService = $customerTwoFactorAuthService;
$this->baseInfo = $baseInfoRepository->find(1);
$this->twoFactorAuthTypeRepository = $twoFactorAuthTypeRepository;
$this->twoFactorAuthCustomerCookieRepository = $twoFactorAuthCustomerCookieRepository;
$this->session = $requestStack->getSession();
$this->default_routes = $this->customerTwoFactorAuthService->getDefaultAuthRoutes();
$this->include_routes = $this->customerTwoFactorAuthService->getIncludeRoutes();
}
if (isset($this->privates['Plugin\\TwoFactorAuthCustomer42\\EventListener\\CustomerTwoFactorAuthListener'])) {
return $this->privates['Plugin\\TwoFactorAuthCustomer42\\EventListener\\CustomerTwoFactorAuthListener'];
}
return $this->privates['Plugin\\TwoFactorAuthCustomer42\\EventListener\\CustomerTwoFactorAuthListener'] = new \Plugin\TwoFactorAuthCustomer42\EventListener\CustomerTwoFactorAuthListener(($this->privates['Eccube\\Request\\Context'] ?? $this->getContextService()), ($this->services['router'] ?? $this->getRouterService()), $a, ($this->privates['Plugin\\TwoFactorAuthCustomer42\\Repository\\TwoFactorAuthTypeRepository'] ?? $this->getTwoFactorAuthTypeRepositoryService()), ($this->privates['Plugin\\TwoFactorAuthCustomer42\\Repository\\TwoFactorAuthCustomerCookieRepository'] ?? $this->getTwoFactorAuthCustomerCookieRepositoryService()), ($this->privates['Eccube\\Repository\\BaseInfoRepository'] ?? $this->getBaseInfoRepositoryService()), ($this->services['request_stack'] ?? ($this->services['request_stack'] = new \Symfony\Component\HttpFoundation\RequestStack())));
}
/**
* Gets the private 'Plugin\TwoFactorAuthCustomer42\Repository\TwoFactorAuthConfigRepository' shared autowired service.
*
}, 1 => 'onRenderAdminCustomerEdit'], 0);
$instance->addListener('kernel.controller_arguments', [0 => function () {
return ($this->privates['Plugin\\TwoFactorAuthCustomer42\\EventListener\\CustomerPersonalValidationListener'] ?? $this->getCustomerPersonalValidationListenerService());
}, 1 => 'onKernelController'], 7);
$instance->addListener('kernel.controller_arguments', [0 => function () {
return ($this->privates['Plugin\\TwoFactorAuthCustomer42\\EventListener\\CustomerTwoFactorAuthListener'] ?? $this->getCustomerTwoFactorAuthListenerService());
}, 1 => 'onKernelController'], 7);
$instance->addListener('Symfony\\Component\\Security\\Http\\Event\\LoginSuccessEvent', [0 => function () {
return ($this->privates['Plugin\\TwoFactorAuthCustomer42\\EventListener\\CustomerTwoFactorAuthListener'] ?? $this->getCustomerTwoFactorAuthListenerService());
}, 1 => 'onLoginSuccess'], 0);
$instance->addListener('Symfony\\Component\\Security\\Http\\Event\\LogoutEvent', [0 => function () {
$this->sorted[$eventName] = [];
foreach ($this->listeners[$eventName] as &$listeners) {
foreach ($listeners as $k => &$listener) {
if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
$listener[0] = $listener[0]();
$listener[1] = $listener[1] ?? '__invoke';
}
$this->sorted[$eventName][] = $listener;
}
}
if (empty($this->listeners[$eventName])) {
return [];
}
if (!isset($this->sorted[$eventName])) {
$this->sortListeners($eventName);
}
return $this->sorted[$eventName];
}
$this->orphanedEvents[$this->currentRequestHash][] = $eventName;
return;
}
foreach ($this->dispatcher->getListeners($eventName) as $listener) {
$priority = $this->getListenerPriority($eventName, $listener);
$wrappedListener = new WrappedListener($listener instanceof WrappedListener ? $listener->getWrappedListener() : $listener, null, $this->stopwatch, $this);
$this->wrappedListeners[$eventName][] = $wrappedListener;
$this->dispatcher->removeListener($eventName, $listener);
$this->dispatcher->addListener($eventName, $wrappedListener, $priority);
if (null !== $this->logger && $event instanceof StoppableEventInterface && $event->isPropagationStopped()) {
$this->logger->debug(sprintf('The "%s" event is already stopped. No listeners have been called.', $eventName));
}
$this->preProcess($eventName);
try {
$this->beforeDispatch($eventName, $event);
try {
$e = $this->stopwatch->start($eventName, 'section');
try {
// controller arguments
$arguments = $this->argumentResolver->getArguments($request, $controller);
$event = new ControllerArgumentsEvent($this, $controller, $arguments, $request, $type);
$this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);
$controller = $event->getController();
$arguments = $event->getArguments();
// call controller
$response = $controller(...$arguments);
{
$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) {
$throwable = $event->getThrowable();
$request = $this->duplicateRequest($throwable, $event->getRequest());
try {
$response = $event->getKernel()->handle($request, HttpKernelInterface::SUB_REQUEST, false);
} catch (\Exception $e) {
$f = FlattenException::createFromThrowable($e);
$this->logException($e, sprintf('Exception thrown when handling an exception (%s: %s at %s line %s)', $f->getClass(), $f->getMessage(), $e->getFile(), $e->getLine()));
$this->called = true;
$this->priority = $dispatcher->getListenerPriority($eventName, $this->listener);
$e = $this->stopwatch->start($this->name, 'event_listener');
($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
if ($e->isStarted()) {
$e->stop();
}
foreach ($listeners as $listener) {
if ($stoppable && $event->isPropagationStopped()) {
break;
}
$listener($event, $eventName, $this);
}
}
/**
* Sorts the internal list of listeners for the given event by priority.
} else {
$listeners = $this->getListeners($eventName);
}
if ($listeners) {
$this->callListeners($listeners, $eventName, $event);
}
return $event;
}
try {
$this->beforeDispatch($eventName, $event);
try {
$e = $this->stopwatch->start($eventName, 'section');
try {
$this->dispatcher->dispatch($event, $eventName);
} finally {
if ($e->isStarted()) {
$e->stop();
}
}
* @throws \Exception
*/
private function handleThrowable(\Throwable $e, Request $request, int $type): Response
{
$event = new ExceptionEvent($this, $request, $type, $e);
$this->dispatcher->dispatch($event, KernelEvents::EXCEPTION);
// a listener might have replaced the exception
$e = $event->getThrowable();
if (!$event->hasResponse()) {
$this->finishRequest($request, $type);
throw $e;
}
return $this->handleThrowable($e, $request, $type);
} finally {
$this->requestStack->pop();
}
}
$this->boot();
++$this->requestStackSize;
$this->resetServices = true;
try {
return $this->getHttpKernel()->handle($request, $type, $catch);
} finally {
--$this->requestStackSize;
}
}
}
}
}
$kernel = new Kernel($env, $debug);
$response = $kernel->handle($request);
$response->send();
$kernel->terminate($request, $response);
$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->finishRequest($request, $type);
throw $e;
$this->boot();
++$this->requestStackSize;
$this->resetServices = true;
try {
return $this->getHttpKernel()->handle($request, $type, $catch);
} finally {
--$this->requestStackSize;
}
}
}
}
}
$kernel = new Kernel($env, $debug);
$response = $kernel->handle($request);
$response->send();
$kernel->terminate($request, $response);
if (!$this->isHostValid) {
return '';
}
$this->isHostValid = false;
throw new SuspiciousOperationException(sprintf('Untrusted Host "%s".', $host));
}
return $host;
}
if ($request::getTrustedProxies()) {
$request->getClientIps();
}
$request->getHost();
}
/**
* {@inheritdoc}
*/
$this->called = true;
$this->priority = $dispatcher->getListenerPriority($eventName, $this->listener);
$e = $this->stopwatch->start($this->name, 'event_listener');
($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
if ($e->isStarted()) {
$e->stop();
}
foreach ($listeners as $listener) {
if ($stoppable && $event->isPropagationStopped()) {
break;
}
$listener($event, $eventName, $this);
}
}
/**
* Sorts the internal list of listeners for the given event by priority.
} else {
$listeners = $this->getListeners($eventName);
}
if ($listeners) {
$this->callListeners($listeners, $eventName, $event);
}
return $event;
}
try {
$this->beforeDispatch($eventName, $event);
try {
$e = $this->stopwatch->start($eventName, 'section');
try {
$this->dispatcher->dispatch($event, $eventName);
} finally {
if ($e->isStarted()) {
$e->stop();
}
}
*/
private function handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response
{
// request
$event = new RequestEvent($this, $request, $type);
$this->dispatcher->dispatch($event, KernelEvents::REQUEST);
if ($event->hasResponse()) {
return $this->filterResponse($event->getResponse(), $request, $type);
}
{
$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;
}
}
}
}
}
$kernel = new Kernel($env, $debug);
$response = $kernel->handle($request);
$response->send();
$kernel->terminate($request, $response);
[6/6]
BadRequestHttpException
|
---|
Symfony\Component\HttpKernel\Exception\BadRequestHttpException: There is currently no session available. at /home/afauto/af-freedom.com/public_html/vendor/symfony/http-kernel/HttpKernel.php:78 at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 2, false) (/home/afauto/af-freedom.com/public_html/vendor/symfony/http-kernel/EventListener/ErrorListener.php:91) at Symfony\Component\HttpKernel\EventListener\ErrorListener->onKernelException(object(ExceptionEvent), 'kernel.exception', object(TraceableEventDispatcher)) (/home/afauto/af-freedom.com/public_html/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:117) at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(ExceptionEvent), 'kernel.exception', object(TraceableEventDispatcher)) (/home/afauto/af-freedom.com/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php:230) at Symfony\Component\EventDispatcher\EventDispatcher->callListeners(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.exception', object(ExceptionEvent)) (/home/afauto/af-freedom.com/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php:59) at Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object(ExceptionEvent), 'kernel.exception') (/home/afauto/af-freedom.com/public_html/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:154) at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object(ExceptionEvent), 'kernel.exception') (/home/afauto/af-freedom.com/public_html/vendor/symfony/http-kernel/HttpKernel.php:223) at Symfony\Component\HttpKernel\HttpKernel->handleThrowable(object(BadRequestHttpException), object(Request), 1) (/home/afauto/af-freedom.com/public_html/vendor/symfony/http-kernel/HttpKernel.php:114) at Symfony\Component\HttpKernel\HttpKernel->terminateWithException(object(BadRequestHttpException), object(Request)) (/home/afauto/af-freedom.com/public_html/vendor/symfony/http-kernel/EventListener/DebugHandlersListener.php:131) at Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::Symfony\Component\HttpKernel\EventListener\{closure}(object(BadRequestHttpException)) (/home/afauto/af-freedom.com/public_html/vendor/symfony/error-handler/ErrorHandler.php:607) at Symfony\Component\ErrorHandler\ErrorHandler->handleException(object(BadRequestHttpException)) |
[5/6]
SessionNotFoundException
|
---|
Symfony\Component\HttpFoundation\Exception\SessionNotFoundException: There is currently no session available. at /home/afauto/af-freedom.com/public_html/vendor/symfony/http-foundation/RequestStack.php:126 at Symfony\Component\HttpFoundation\RequestStack->getSession() (/home/afauto/af-freedom.com/public_html/app/Plugin/TwoFactorAuthCustomer42/EventListener/CustomerTwoFactorAuthListener.php:102) at Plugin\TwoFactorAuthCustomer42\EventListener\CustomerTwoFactorAuthListener->__construct(object(Context), object(Router), object(CustomerTwoFactorAuthService), object(TwoFactorAuthTypeRepository), object(TwoFactorAuthCustomerCookieRepository), object(BaseInfoRepository), object(RequestStack)) (/home/afauto/af-freedom.com/public_html/var/cache/dev/Container3AD0CAB/Eccube_KernelDevDebugContainer.php:2624) at Container3AD0CAB\Eccube_KernelDevDebugContainer->getCustomerTwoFactorAuthListenerService() (/home/afauto/af-freedom.com/public_html/var/cache/dev/Container3AD0CAB/Eccube_KernelDevDebugContainer.php:1804) at Container3AD0CAB\Eccube_KernelDevDebugContainer->Container3AD0CAB\{closure}() (/home/afauto/af-freedom.com/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php:164) at Symfony\Component\EventDispatcher\EventDispatcher->removeListener('kernel.controller_arguments', array(object(TwoFactorAuthListener), 'onKernelController')) (/home/afauto/af-freedom.com/public_html/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:297) at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->preProcess('kernel.controller_arguments') (/home/afauto/af-freedom.com/public_html/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:148) at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object(ControllerArgumentsEvent), 'kernel.controller_arguments') (/home/afauto/af-freedom.com/public_html/vendor/symfony/http-kernel/HttpKernel.php:158) at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 2) (/home/afauto/af-freedom.com/public_html/vendor/symfony/http-kernel/HttpKernel.php:75) at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 2, false) (/home/afauto/af-freedom.com/public_html/vendor/symfony/http-kernel/EventListener/ErrorListener.php:91) at Symfony\Component\HttpKernel\EventListener\ErrorListener->onKernelException(object(ExceptionEvent), 'kernel.exception', object(TraceableEventDispatcher)) (/home/afauto/af-freedom.com/public_html/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:117) at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(ExceptionEvent), 'kernel.exception', object(TraceableEventDispatcher)) (/home/afauto/af-freedom.com/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php:230) at Symfony\Component\EventDispatcher\EventDispatcher->callListeners(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.exception', object(ExceptionEvent)) (/home/afauto/af-freedom.com/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php:59) at Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object(ExceptionEvent), 'kernel.exception') (/home/afauto/af-freedom.com/public_html/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:154) at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object(ExceptionEvent), 'kernel.exception') (/home/afauto/af-freedom.com/public_html/vendor/symfony/http-kernel/HttpKernel.php:223) at Symfony\Component\HttpKernel\HttpKernel->handleThrowable(object(BadRequestHttpException), object(Request), 1) (/home/afauto/af-freedom.com/public_html/vendor/symfony/http-kernel/HttpKernel.php:114) at Symfony\Component\HttpKernel\HttpKernel->terminateWithException(object(BadRequestHttpException), object(Request)) (/home/afauto/af-freedom.com/public_html/vendor/symfony/http-kernel/EventListener/DebugHandlersListener.php:131) at Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::Symfony\Component\HttpKernel\EventListener\{closure}(object(BadRequestHttpException)) (/home/afauto/af-freedom.com/public_html/vendor/symfony/error-handler/ErrorHandler.php:607) at Symfony\Component\ErrorHandler\ErrorHandler->handleException(object(BadRequestHttpException)) |
[4/6]
BadRequestHttpException
|
---|
Symfony\Component\HttpKernel\Exception\BadRequestHttpException: There is currently no session available. at /home/afauto/af-freedom.com/public_html/vendor/symfony/http-kernel/HttpKernel.php:78 at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 2, false) (/home/afauto/af-freedom.com/public_html/vendor/symfony/http-kernel/EventListener/ErrorListener.php:91) at Symfony\Component\HttpKernel\EventListener\ErrorListener->onKernelException(object(ExceptionEvent), 'kernel.exception', object(TraceableEventDispatcher)) (/home/afauto/af-freedom.com/public_html/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:117) at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(ExceptionEvent), 'kernel.exception', object(TraceableEventDispatcher)) (/home/afauto/af-freedom.com/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php:230) at Symfony\Component\EventDispatcher\EventDispatcher->callListeners(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.exception', object(ExceptionEvent)) (/home/afauto/af-freedom.com/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php:59) at Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object(ExceptionEvent), 'kernel.exception') (/home/afauto/af-freedom.com/public_html/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:154) at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object(ExceptionEvent), 'kernel.exception') (/home/afauto/af-freedom.com/public_html/vendor/symfony/http-kernel/HttpKernel.php:223) at Symfony\Component\HttpKernel\HttpKernel->handleThrowable(object(BadRequestHttpException), object(Request), 1) (/home/afauto/af-freedom.com/public_html/vendor/symfony/http-kernel/HttpKernel.php:86) at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true) (/home/afauto/af-freedom.com/public_html/vendor/symfony/http-kernel/Kernel.php:202) at Symfony\Component\HttpKernel\Kernel->handle(object(Request)) (/home/afauto/af-freedom.com/public_html/index.php:83) |
[3/6]
SessionNotFoundException
|
---|
Symfony\Component\HttpFoundation\Exception\SessionNotFoundException: There is currently no session available. at /home/afauto/af-freedom.com/public_html/vendor/symfony/http-foundation/RequestStack.php:126 at Symfony\Component\HttpFoundation\RequestStack->getSession() (/home/afauto/af-freedom.com/public_html/app/Plugin/TwoFactorAuthCustomer42/EventListener/CustomerTwoFactorAuthListener.php:102) at Plugin\TwoFactorAuthCustomer42\EventListener\CustomerTwoFactorAuthListener->__construct(object(Context), object(Router), object(CustomerTwoFactorAuthService), object(TwoFactorAuthTypeRepository), object(TwoFactorAuthCustomerCookieRepository), object(BaseInfoRepository), object(RequestStack)) (/home/afauto/af-freedom.com/public_html/var/cache/dev/Container3AD0CAB/Eccube_KernelDevDebugContainer.php:2624) at Container3AD0CAB\Eccube_KernelDevDebugContainer->getCustomerTwoFactorAuthListenerService() (/home/afauto/af-freedom.com/public_html/var/cache/dev/Container3AD0CAB/Eccube_KernelDevDebugContainer.php:1804) at Container3AD0CAB\Eccube_KernelDevDebugContainer->Container3AD0CAB\{closure}() (/home/afauto/af-freedom.com/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php:245) at Symfony\Component\EventDispatcher\EventDispatcher->sortListeners('kernel.controller_arguments') (/home/afauto/af-freedom.com/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php:76) at Symfony\Component\EventDispatcher\EventDispatcher->getListeners('kernel.controller_arguments') (/home/afauto/af-freedom.com/public_html/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:293) at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->preProcess('kernel.controller_arguments') (/home/afauto/af-freedom.com/public_html/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:148) at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object(ControllerArgumentsEvent), 'kernel.controller_arguments') (/home/afauto/af-freedom.com/public_html/vendor/symfony/http-kernel/HttpKernel.php:158) at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 2) (/home/afauto/af-freedom.com/public_html/vendor/symfony/http-kernel/HttpKernel.php:75) at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 2, false) (/home/afauto/af-freedom.com/public_html/vendor/symfony/http-kernel/EventListener/ErrorListener.php:91) at Symfony\Component\HttpKernel\EventListener\ErrorListener->onKernelException(object(ExceptionEvent), 'kernel.exception', object(TraceableEventDispatcher)) (/home/afauto/af-freedom.com/public_html/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:117) at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(ExceptionEvent), 'kernel.exception', object(TraceableEventDispatcher)) (/home/afauto/af-freedom.com/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php:230) at Symfony\Component\EventDispatcher\EventDispatcher->callListeners(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.exception', object(ExceptionEvent)) (/home/afauto/af-freedom.com/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php:59) at Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object(ExceptionEvent), 'kernel.exception') (/home/afauto/af-freedom.com/public_html/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:154) at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object(ExceptionEvent), 'kernel.exception') (/home/afauto/af-freedom.com/public_html/vendor/symfony/http-kernel/HttpKernel.php:223) at Symfony\Component\HttpKernel\HttpKernel->handleThrowable(object(BadRequestHttpException), object(Request), 1) (/home/afauto/af-freedom.com/public_html/vendor/symfony/http-kernel/HttpKernel.php:86) at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true) (/home/afauto/af-freedom.com/public_html/vendor/symfony/http-kernel/Kernel.php:202) at Symfony\Component\HttpKernel\Kernel->handle(object(Request)) (/home/afauto/af-freedom.com/public_html/index.php:83) |
[2/6]
BadRequestHttpException
|
---|
Symfony\Component\HttpKernel\Exception\BadRequestHttpException: Untrusted Host "www.af-freedom.com". at /home/afauto/af-freedom.com/public_html/vendor/symfony/http-kernel/HttpKernel.php:78 at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true) (/home/afauto/af-freedom.com/public_html/vendor/symfony/http-kernel/Kernel.php:202) at Symfony\Component\HttpKernel\Kernel->handle(object(Request)) (/home/afauto/af-freedom.com/public_html/index.php:83) |
[1/6]
SuspiciousOperationException
|
---|
Symfony\Component\HttpFoundation\Exception\SuspiciousOperationException: Untrusted Host "www.af-freedom.com". at /home/afauto/af-freedom.com/public_html/vendor/symfony/http-foundation/Request.php:1231 at Symfony\Component\HttpFoundation\Request->getHost() (/home/afauto/af-freedom.com/public_html/vendor/symfony/http-kernel/EventListener/ValidateRequestListener.php:41) at Symfony\Component\HttpKernel\EventListener\ValidateRequestListener->onKernelRequest(object(RequestEvent), 'kernel.request', object(TraceableEventDispatcher)) (/home/afauto/af-freedom.com/public_html/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:117) at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(RequestEvent), 'kernel.request', object(TraceableEventDispatcher)) (/home/afauto/af-freedom.com/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php:230) at Symfony\Component\EventDispatcher\EventDispatcher->callListeners(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.request', object(RequestEvent)) (/home/afauto/af-freedom.com/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php:59) at Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object(RequestEvent), 'kernel.request') (/home/afauto/af-freedom.com/public_html/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:154) at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object(RequestEvent), 'kernel.request') (/home/afauto/af-freedom.com/public_html/vendor/symfony/http-kernel/HttpKernel.php:139) at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1) (/home/afauto/af-freedom.com/public_html/vendor/symfony/http-kernel/HttpKernel.php:75) at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true) (/home/afauto/af-freedom.com/public_html/vendor/symfony/http-kernel/Kernel.php:202) at Symfony\Component\HttpKernel\Kernel->handle(object(Request)) (/home/afauto/af-freedom.com/public_html/index.php:83) |