Bug #19810
closedBroken fe_adminLib.inc
0%
Description
If there's an extension installed that depends on fe_adminLib.inc (here feuser_admin), opening a page with that plugin results in following error:
Argument 2 passed to tslib_cObj::fillInMarkerArray() must be an array, null given, called in /var/www/www-src/typo3/trunk/typo3/sysext/cms/tslib/media/scripts/fe_adminLib.inc on line 1028 and defined in /var/www/www-src/typo3/trunk/typo3/sysext/cms/tslib/class.tslib_content.php on line 3232
(issue imported from #M10119)
Files
Updated by Steffen Kamper almost 16 years ago
here is a fix.
The question: how does this happen? $this->dataArr is initialized as array and only overwritten by GPvars
Updated by Marcus Krause about 15 years ago
in user_feAdmin->init() it is always been asked for transferred data;
if there's no data transmitted (initial display of form), then value of $this->dataArr is NULL
with TYPO3 4.3 we now have type hints, so that a NULL as 2nd argument for tslib_cObj::fillInMarkerArray() raises an error
like already said - patch works; I'd like to see it in the core ;-)
Updated by Steffen Kamper about 15 years ago
thanks for the reminder, is in core list now.