Bug #21122
closedFatal Error in Configuration > $TBE_MODULES
0%
Description
When selecting "$TBE_MODULES (BE Modules)" in the Configuration module I'm getting a
Catchable fatal error: Object of class Tx_Extbase_Dispatcher could not be converted to string in t3lib\class.t3lib_div.php on line 1245
The problem is, that Extbase puts an instance of Tx_Extbase_Dispatcher into the $TBE_MODULES array in ext_tables.php and the t3lib_arraybrowser does not support objects.
We could fix this by adding an is_object check to the arraybrowser. But I'd rather change the Extbase behavior from
$TBE_MODULES['_dispatcher'][] = t3lib_div::makeInstance('Tx_Extbase_Dispatcher');
to
$TBE_MODULES['_dispatcher'][] = 'Tx_Extbase_Dispatcher';
as it seems superfluous to store an instance of the dispatcher there.
Patch follows
Patch follows
(issue imported from #M12037)
Files