Actions
Bug #89269
closed$GLOBALS['BE_USER']->uc sometimes wrongly written, gets a stdClass where an array would be expected
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend API
Target version:
Start date:
2019-09-25
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:
Description
See issues:
https://forge.typo3.org/issues/88984
https://forge.typo3.org/issues/89268
It appears that since one of the latest patches (probalby 9.5.9), the uc is sometimes wrongly written and gets an stdClass where an array would be expected. This later leads to fatal errors because php expects an array, but gets an stdClass.
Both issues seem to be related to the pagetree / States and for now just fix the symptoms.
In #88984 it is the following setting that suddenly is an stdClass:
$this->getBackendUser()->uc['BackendComponents']['States']['typo3-module-menu']
In #89268 it is the key: (from javascript)
BackendComponents.States.Pagetree.stateHash.0_-1
Actions