#46642Fatal error: Cannot unset string offsets in typo3/sysext/em/classes/tools/class.tx_em_tools.php on line 382
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.