Bug #82962
Updated by Thomas Hohn over 6 years ago
It some of out TYPO3 installations we sometime see the following error when a login attempt has failed. <pre> Core: Error handler (FE): PHP Warning: array_merge(): Argument #1 is not an array typo3_src/typo3/sysext/frontend/Classes/Authentication/FrontendUserAuthentication.php line 412 </pre> So there might be conditions where $this->user can be something that's not an array or null it that case the statement <pre> $this->user = array_merge($this->user ?? [], $updatedSession); </pre> Instead its should be replaced by: <pre> $this->user = array_merge($this->user ? $this->user : [], $updatedSession); </pre> The should be done line line 403 and 412