Project

General

Profile

Actions

Bug #21122

closed

Fatal Error in Configuration > $TBE_MODULES

Added by Bastian Waidelich about 15 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2009-09-22
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

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

Actions

Also available in: Atom PDF