Bug #82962
closed
FrontendUserAuthentication throws PHP error if this->user is not null or not array
Added by Thomas Hohn about 7 years ago.
Updated over 4 years ago.
Description
It some of out TYPO3 installations we sometime see the following error when a login attempt has failed.
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
So there might be conditions where $this->user can be something that's not an array or null
IMO $this->user is not null, but a string or something.
The ??
operator would use the false-part of the ternary if it was null.
- Subject changed from FrontendUserAuthentication throws PHP error if this->user is null to FrontendUserAuthentication throws PHP error if this->user is not null or array
- Description updated (diff)
Markus Klein wrote:
IMO $this->user is not null, but a string or something.
The ??
operator would use the false-part of the ternary if it was null.
You are right - my bad - will look into it...
- Subject changed from FrontendUserAuthentication throws PHP error if this->user is not null or array to FrontendUserAuthentication throws PHP error if this->user is not null or not array
Which extensions are part of the game in your case?
How can I reproduce this bug?
- Target version changed from next-patchlevel to Candidate for patchlevel
- Status changed from New to Closed
No instructions to reproduce, no feedback since 2 years, closing the issue now - please report back if it happens again.
Also available in: Atom
PDF