Bug #60126
closedIllegal string offset 'uid' in TypoScriptFrontendController
100%
Description
Hi,
i just spotted 2 warnings in Log module. Both with exactly the same time:
Core: Error handler (FE): PHP Warning: Illegal string offset 'uid' in /typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php line 1286
Core: Error handler (FE): PHP Warning: Illegal string offset 'uid' in /typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php line 1281
I'm not 100% sure but this might be related to login/sessions as i often left backend opened, than the session expires and i have overlay with login form visible.
TYPO3 6.2.3
PHP 5.5
Chromium
Kubuntu
Updated by Philipp Gampe over 10 years ago
- Category deleted (
Backend API) - Status changed from New to Accepted
- Complexity set to no-brainer
This relates to initializeBackendUser() which does not check the the backend user is actually created correctly but tries to read the user row $beuser->user['uid']
as soon as a backend user cookie is present.
A simple isset should do the trick.
Updated by Gerrit Code Review over 10 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/31472
Updated by Markus Klein over 10 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 26a505727398921c3989e62f6c64b660018b38eb.