| Exception |
Symfony\Component\Security\Core\Exception\InvalidCsrfTokenException {#424
#message: "Invalid CSRF token."
#code: 0
#file: "/var/www/html/vendor/symfony/security-http/EventListener/CsrfProtectionListener.php"
#line: 49
-token: null
trace: {
/var/www/html/vendor/symfony/security-http/EventListener/CsrfProtectionListener.php:49 {
Symfony\Component\Security\Http\EventListener\CsrfProtectionListener->checkPassport(CheckPassportEvent $event): void …
› if (false === $this->csrfTokenManager->isTokenValid($csrfToken)) {
› throw new InvalidCsrfTokenException('Invalid CSRF token.');
› }
}
/var/www/html/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:115 {
Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
› try {
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
› } finally {
arguments: {
$event: Symfony\Component\HttpKernel\Event\RequestEvent {#63 …}
...: {
"kernel.request"
Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher {#167 …}
}
}
}
/var/www/html/vendor/symfony/event-dispatcher/EventDispatcher.php:206 {
Symfony\Component\EventDispatcher\EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event): void …
› }
› $listener($event, $eventName, $this);
› }
arguments: {
$event: Symfony\Component\HttpKernel\Event\RequestEvent {#63 …}
$eventName: "kernel.request"
$dispatcher: Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher {#167 …}
}
}
/var/www/html/vendor/symfony/event-dispatcher/EventDispatcher.php:56 {
Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object $event, ?string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
arguments: {
$listeners: [ …11]
$eventName: "kernel.request"
$event: Symfony\Component\HttpKernel\Event\RequestEvent {#63 …}
}
}
/var/www/html/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:129 {
Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object $event, ?string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
arguments: {
$event: Symfony\Component\HttpKernel\Event\RequestEvent {#63 …}
$eventName: "kernel.request"
}
}
/var/www/html/vendor/symfony/security-http/Authentication/AuthenticatorManager.php:182 {
Symfony\Component\Security\Http\Authentication\AuthenticatorManager->executeAuthenticator(AuthenticatorInterface $authenticator, Request $request): Response …
› $event = new CheckPassportEvent($authenticator, $passport);
› $this->eventDispatcher->dispatch($event);
›
arguments: {
$event: Symfony\Component\Security\Http\Event\CheckPassportEvent {#399 …}
}
}
/var/www/html/vendor/symfony/security-http/Authentication/AuthenticatorManager.php:160 {
Symfony\Component\Security\Http\Authentication\AuthenticatorManager->executeAuthenticators(array $authenticators, Request $request): Response …
›
› $response = $this->executeAuthenticator($authenticator, $request);
› if (null !== $response) {
arguments: {
$authenticator: Symfony\Component\Security\Http\Authenticator\Debug\TraceableAuthenticator {#258 …}
$request: Symfony\Component\HttpFoundation\Request {#10 …}
}
}
/var/www/html/vendor/symfony/security-http/Authentication/AuthenticatorManager.php:142 {
Symfony\Component\Security\Http\Authentication\AuthenticatorManager->authenticateRequest(Request $request): Response …
›
› return $this->executeAuthenticators($authenticators, $request);
› }
arguments: {
$authenticators: [ …1]
$request: Symfony\Component\HttpFoundation\Request {#10 …}
}
}
/var/www/html/vendor/symfony/security-http/Firewall/AuthenticatorManagerListener.php:38 {
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener->authenticate(RequestEvent $event): void …
› $request = $event->getRequest();
› $response = $this->authenticatorManager->authenticateRequest($request);
› if (null === $response) {
arguments: {
$request: Symfony\Component\HttpFoundation\Request {#10 …}
}
}
/var/www/html/vendor/symfony/security-http/Authenticator/Debug/TraceableAuthenticatorManagerListener.php:58 {
Symfony\Component\Security\Http\Authenticator\Debug\TraceableAuthenticatorManagerListener->authenticate(RequestEvent $event): void …
› {
› $this->authenticationManagerListener->authenticate($event);
› }
arguments: {
$event: Symfony\Component\HttpKernel\Event\RequestEvent {#63 …}
}
}
/var/www/html/vendor/symfony/security-bundle/Debug/WrappedLazyListener.php:52 {
Symfony\Bundle\SecurityBundle\Debug\WrappedLazyListener->authenticate(RequestEvent $event): void …
› try {
› $this->listener->authenticate($event);
› } catch (LazyResponseException $e) {
arguments: {
$event: Symfony\Component\HttpKernel\Event\RequestEvent {#63 …}
}
}
/var/www/html/vendor/symfony/security-bundle/Debug/TraceableFirewallListener.php:88 {
Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener->callListeners(RequestEvent $event, iterable $listeners): void …
›
› $listener->authenticate($event);
›
arguments: {
$event: Symfony\Component\HttpKernel\Event\RequestEvent {#63 …}
}
}
/var/www/html/vendor/symfony/security-http/Firewall.php:86 {
Symfony\Component\Security\Http\Firewall->onKernelRequest(RequestEvent $event): void …
›
› $this->callListeners($event, $authenticationListeners());
› }
arguments: {
$event: Symfony\Component\HttpKernel\Event\RequestEvent {#63 …}
$listeners: Generator {#290 …}
}
}
/var/www/html/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:115 {
Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
› try {
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
› } finally {
arguments: {
$event: Symfony\Component\HttpKernel\Event\RequestEvent {#63 …}
...: {
"kernel.request"
Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher {#167 …}
}
}
}
/var/www/html/vendor/symfony/event-dispatcher/EventDispatcher.php:206 {
Symfony\Component\EventDispatcher\EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event): void …
› }
› $listener($event, $eventName, $this);
› }
arguments: {
$event: Symfony\Component\HttpKernel\Event\RequestEvent {#63 …}
$eventName: "kernel.request"
$dispatcher: Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher {#167 …}
}
}
/var/www/html/vendor/symfony/event-dispatcher/EventDispatcher.php:56 {
Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object $event, ?string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
arguments: {
$listeners: [ …11]
$eventName: "kernel.request"
$event: Symfony\Component\HttpKernel\Event\RequestEvent {#63 …}
}
}
/var/www/html/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:129 {
Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object $event, ?string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
arguments: {
$event: Symfony\Component\HttpKernel\Event\RequestEvent {#63 …}
$eventName: "kernel.request"
}
}
/var/www/html/vendor/symfony/http-kernel/HttpKernel.php:162 {
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST, ?ControllerMetadata &$controllerMetadata = null): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
arguments: {
$event: Symfony\Component\HttpKernel\Event\RequestEvent {#63 …}
$eventName: "kernel.request"
}
}
/var/www/html/vendor/symfony/http-kernel/HttpKernel.php:79 {
Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
› try {
› return $response = $this->handleRaw($request, $type, $controllerMetadata);
› } catch (\Throwable $e) {
arguments: {
$request: Symfony\Component\HttpFoundation\Request {#10 …}
$type: 1
&$controllerMetadata: null
}
}
/var/www/html/vendor/symfony/http-kernel/Kernel.php:143 {
Symfony\Component\HttpKernel\Kernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
arguments: {
$request: Symfony\Component\HttpFoundation\Request {#10 …}
$type: 1
$catch: true
}
}
/var/www/html/public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
arguments: {
$request: Symfony\Component\HttpFoundation\Request {#10 …}
}
}
}
} |