TYPO3 Forger
  • Dashboard
  • Get involved
  • Reviews
    Overview Ready for review Work in progress Needs action Needs review Needs verification Needs rebase Negative votes Reviewed and verified Ready to merge
  • Issues
    Stale issues Possible duplicates By category By month
  • Sprints
    Overview Initiatives TYPO3 Core Review board
  • Tools
    Backports ReST helper
  • Help
  • Search
  • Login
Esc

Words find the open ones, a number the issue and the change with it.

  1. Issues
  2. #49328
Issue Bug Closed

#49328PHP Warning: Illegal string offset 'uid' in BackendUserAuthentication.php on line 2064

Chris topher 06/21/13, 19:01 updated 10/02/18, 12:11

Open in Forge Comment in Forge

Description

I get this error:

PHP Warning: Illegal string offset ‘uid’ in typo3\sysext\core\Classes\Authentication\BackendUserAuthentication.php on line 2064

“uid” obviously is not set always.

This is the problematic line:

'userid' => $userId ? $userId : intval($this->user['uid']),

The same solution might also solve #49327.

Reviews 3

  • TYPO3_6-1 23916[BUGFIX] Fix PHP warning when writing to Backend user log Resolves this issue Merged Christian Kuhn CR +2 V +2 → 6.0, 6.1, 6.2 Easy +6 −2 09/19/13, 20:04
  • TYPO3_6-0 23917[BUGFIX] Fix PHP warning when writing to Backend user log Resolves this issue Merged Christian Kuhn CR +2 V +2 → 6.0, 6.1, 6.2 Easy +5 −1 09/19/13, 20:03
  • main 23116[BUGFIX] Fix PHP warning when writing to Backend user log Resolves this issue Merged Alexander Stehlik CR +2 V +2 → 6.0, 6.1, 6.2 49328 Easy +6 −2 09/19/13, 20:03

Related issues 2

  • Bug #49327PHP Warning on logout: Illegal string offset 'uid' in AjaxLoginHandler.php on line 90 Related to Closed v6.1 Chris topher 06/21/13, 18:52
  • Bug #59364Illegal string offset 'uid' in TypoScriptFrontendController.php line 1281 Related to Closed v6.2 Robert Vock 06/05/14, 13:52
Author
Chris topher
Priority
Should have
TYPO3 version
6.1
PHP version
5.4
© 2026 TYPO3 GmbH.
  • API
  • Privacy Policy
  • Legal Notice
  • Feedback