Issue Bug Closed

#90644Null given when dispatch LogoutConfirmedEvent

Gerrit Mohrmann 03/04/20, 22:22 updated 04/01/20, 21:15

Description

Argument 2 passed to TYPO3\CMS\FrontendLogin\Event\AbstractConfirmedEvent::__construct()
must implement interface TYPO3\CMS\Extbase\Mvc\View\ViewInterface, null given

felogin/Classes/Controller/LoginController.php on line 140

View is created after initializeLoginAction(), solution would be to move the events to the start of the LoginAction()

The problematic event is the LogoutConfirmedEvent.

To reproduce login with an fe_user and logout.

Reviews 1