Actions
Bug #46642
closedFatal error: Cannot unset string offsets in typo3/sysext/em/classes/tools/class.tx_em_tools.php on line 382
Start date:
2013-03-25
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
when uploading an extension to TER (TYPO3 4.5) the $EM_CONF[$_EXTKEY] = array becomes wrong:
original php code:
$EM_CONF[$_EXTKEY] = array ( //snip array ( 'depends' => array ( 'typo3' => '4.5.0-6.0.99' ), 'conflicts' => array( ), 'suggests' => array ( ), ), //snip
becomes after uploading:
array ( 'depends' => array ( 'typo3' => '4.5.0-6.0.99', '' => '', ), 'conflicts' => '', 'suggests' => array ( ), ),
which leads to the following error in the extension manager of TYPO3 4.5.x:
Fatal error: Cannot unset string offsets in typo3/sysext/em/classes/tools/class.tx_em_tools.php on line 382
I had to edit the em_conf.php manually in order to get rid of this error in the backend.
Files
Actions