TypeError Argument #1 ($event) must be of type Symfony, ResponseEvent given

Created on 26 May 2023, over 1 year ago
Updated 31 May 2023, over 1 year ago

After upgrading to d10

TypeError: Drupal\redirect_after_logout\EventSubscriber\RedirectAfterLogoutSubscriber::checkRedirection(): Argument #1 ($event) must be of type Symfony\Component\HttpKernel\Event\FilterResponseEvent, Symfony\Component\HttpKernel\Event\ResponseEvent given in Drupal\redirect_after_logout\EventSubscriber\RedirectAfterLogoutSubscriber->checkRedirection() (line 41 of modules/contrib/redirect_after_logout/src/EventSubscriber/RedirectAfterLogoutSubscriber.php).
call_user_func() (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch() (Line: 196)
Symfony\Component\HttpKernel\HttpKernel->filterResponse() (Line: 184)
Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 74)
Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 58)
Drupal\Core\StackMiddleware\Session->handle() (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle() (Line: 686)
Drupal\Core\DrupalKernel->handle() (Line: 19) 
๐Ÿ› Bug report
Status

Fixed

Version

1.2

Component

Code

Created by

๐Ÿ‡ฆ๐Ÿ‡บAustralia gigimaor Narangba/Brisbane

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024