Bug #49327

PHP Warning on logout: Illegal string offset 'uid' in AjaxLoginHandler.php on line 90

Added by Chris topher about 8 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2013-06-21
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.1
PHP Version:
5.4
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:

Description

When the Backend session times out the login handler is called. This gives the following PHP warning:

Illegal string offset 'uid' in typo3\sysext\backend\Classes\AjaxLoginHandler.php on line 90

The problem is this condition:
if ($GLOBALS['BE_USER']->user['uid']) { // Do something } else { // Do something else

The same solution might also solve #49328.


Related issues

Related to TYPO3 Core - Bug #49328: PHP Warning: Illegal string offset 'uid' in BackendUserAuthentication.php on line 2064Closed2013-06-21

Actions
Related to TYPO3 Core - Bug #59364: Illegal string offset 'uid' in TypoScriptFrontendController.php line 1281Closed2014-06-05

Actions
#1

Updated by Gerrit Code Review about 8 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/21569

#2

Updated by Gerrit Code Review about 8 years ago

Patch set 1 for branch TYPO3_6-1 has been pushed to the review server.
It is available at https://review.typo3.org/21570

#3

Updated by Gerrit Code Review about 8 years ago

Patch set 1 for branch TYPO3_6-0 has been pushed to the review server.
It is available at https://review.typo3.org/21571

#4

Updated by Gerrit Code Review about 8 years ago

Patch set 1 for branch TYPO3_4-7 has been pushed to the review server.
It is available at https://review.typo3.org/21572

#5

Updated by Gerrit Code Review about 8 years ago

Patch set 1 for branch TYPO3_4-5 has been pushed to the review server.
It is available at https://review.typo3.org/21573

#6

Updated by Markus Klein about 8 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#7

Updated by Benni Mack over 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF