Project

General

Profile

Actions

Bug #54449

closed

Fatal error in configuration module while modifying TYPO3_LOADED_EXT

Added by Maik Hagenbruch over 10 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Backend API
Target version:
-
Start date:
2013-12-16
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.4
Tags:
Complexity:
medium
Is Regression:
No
Sprint Focus:

Description

When choosing $TYPO3_LOADED_EXT (Loaded Extensions) in configuration module a fatal error occurs:

#1361915596: The array $GLOBALS['TYPO3_LOADED_EXT'] may not be modified

This happens because the tree method tries to override values in the non-writeable TYPO3_LOADED_EXT array.

\TYPO3\CMS\Lowlevel\View\ConfigurationView : 236

$tree = $arrayBrowser->tree($theVar, '', '');

\TYPO3\CMS\Lowlevel\Utility\ArrayBrowser : 111

if (is_object($arr[$key])) {
  $arr[$key] = (array) $arr[$key];
}

Actions

Also available in: Atom PDF