Nach Update auf 4.11.0 klappt logout nicht mehr
Contao 4.10.7
Hoster WebGo
Contao Manager 1.4.1
Zugang per ssh möglich
Nach dem Update auf 4.11.0 gibt es beim automatischen Logout einen Fehler:
Was ist das Problem?
Bei der Ausführung des Skriptes ist ein Fehler aufgetreten. Irgendetwas funktioniert nicht richtig.
Der letzte Log meldet:
Code:
[2021-03-01T18:01:35.637700+01:00] request.CRITICAL: Uncaught PHP Exception TypeError:
"Argument 2 passed to Contao\CoreBundle\Security\Logout\LogoutHandler::logout() must be an instance of Symfony\Component\HttpFoundation\Response, null given, called in /home/www/xyz.de/vendor/symfony/security-bundle/Security/LegacyLogoutHandlerListener.php on line 42" at /home/www/xyz.de/vendor/contao/core-bundle/src/Security/Logout/LogoutHandler.php line 50
{"exception":"[object] (TypeError(code: 0):
Argument 2 passed to Contao\\CoreBundle\\Security\\Logout\\LogoutHandler::logout() must be an instance of Symfony\\Component\\HttpFoundation\\Response, null given, called in /home/www/xyz.de/vendor/symfony/security-bundle/Security/LegacyLogoutHandlerListener.php on line 42 at /home/www/xyz.de/vendor/contao/core-bundle/src/Security/Logout/LogoutHandler.php:50)"} []
Unter 4.10.7 tat alles einwandfrei.