#59364Illegal string offset 'uid' in TypoScriptFrontendController.php line 1281
Description
When the backend user session has timed out, you can get this PHP Warning in the frontend.
The be_sessions entry is deleted, so reloading solves the problem.
The Bug exists because logoff changes AbstractUserAuthentication->user to an empty string instead of setting it to null.
Solution is simple: Just set user = null instead of user = ‘’
PHP 5.4 changed accessing strings with invalid offsets to a warning:
http://docs.php.net/manual/da/language.types.array.php#example-81