Bug #37578
closed
Illegal string offset 'uid' in /typo3/sysext/beuser/class.tx_beuser_switchbackuser.php
Added by Thomas Deinhamer almost 12 years ago.
Updated over 6 years ago.
Description
Core: Error handler (BE): PHP Warning: Illegal string offset 'uid' in typo3/sysext/beuser/class.tx_beuser_switchbackuser.php line 31
Appears in the belog.
Probably this happens when calling the CLI dispatcher on the command line executing an extbase command controller. Not sure.
Code on line 31 should be changed from
if($that->session_table == 'be_sessions' && $that->user['uid'] && $that->user['ses_backuserid']) {
to
if($that->session_table == 'be_sessions' && isset($that->user['uid']) && isset($that->user['ses_backuserid'])) {
Probably. ;)
- Status changed from New to Under Review
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF