Hallo,
kann jemand was mit den Meldungen aus dem log anfangen?
Das passiert, sobald ich das "Benutzer Login-Modul" auf einer Seite einbinde. Die Seite wird nicht geladen und meldet "Es ist ein Fehler aufgetreten", alle anderen "Benutzer-Module" funktionieren aber korrekt.
Code:
request.INFO: Matched route "tl_page.53". {"route":"tl_page.53","route_parameters":{"_controller":"Contao\\FrontendIndex::renderPage","_scope":"frontend","_locale":"de","_format":"html","_canonical_route":"tl_page.53","parameters":"","pageModel":{"Contao\\PageModel":[]},"_route":"tl_page.53","_route_object":{"Contao\\CoreBundle\\Routing\\Page\\PageRoute":[]}},"request_uri":"https://www.DOMAIN.de/login","method":"GET"} {"request_uri":"https://www.DOMAIN.de/login","request_method":"GET"}
request.CRITICAL: Uncaught PHP Exception TypeError: "Scheb\TwoFactorBundle\Security\TwoFactor\Event\TwoFactorAuthenticationEvent::__construct(): Argument #2 ($token) must be of type Symfony\Component\Security\Core\Authentication\Token\TokenInterface, null given, called in /mnt/web323/a0/97/5896997/htdocs/DOMAIN.de/vendor/contao/core-bundle/contao/modules/ModuleLogin.php on line 213" at TwoFactorAuthenticationEvent.php line 16 {"exception":"[object] (TypeError(code: 0): Scheb\\TwoFactorBundle\\Security\\TwoFactor\\Event\\TwoFactorAuthenticationEvent::__construct(): Argument #2 ($token) must be of type Symfony\\Component\\Security\\Core\\Authentication\\Token\\TokenInterface, null given, called in /mnt/web323/a0/97/5896997/htdocs/DOMAIN.de/vendor/contao/core-bundle/contao/modules/ModuleLogin.php on line 213 at /mnt/web323/a0/97/5896997/htdocs/DOMAIN.de/vendor/scheb/2fa-bundle/Security/TwoFactor/Event/TwoFactorAuthenticationEvent.php:16)"} {"request_uri":"https://www.DOMAIN.de/login","request_method":"GET"}
messenger.INFO: Stopping worker. {"transport_names":["contao_prio_high"]} {"request_uri":"https://www.DOMAIN.de/login","request_method":"GET"}