Issue Bug Closed

#53527Illegal string offset in ext_tables.php

Stefan Froemken 11/11/13, 16:25 updated 11/29/13, 22:08

Description

Hello Core-Team,

since updating from PHP 5.3 to PHP 5.4 we get following errors just after each Clear Cache:

Warning: Illegal string offset 'gb_weather_pi1' in /kunden/removedPath/typo3conf/ext/gb_weather/ext_tables.php on line 26
Warning: Illegal string offset 'pagebrowse_pi1' in /kunden/removedPath/typo3conf/ext/pagebrowse/ext_tables.php on line 8
Warning: Illegal string offset 'itaw_youtoubeembed_pi1' in /kunden/removedPath/typo3conf/ext/itaw_youtoubeembed/ext_tables.php on line 37
Warning: Illegal string offset 'kc_emailnotification_pi1' in /kunden/removedPath/typo3conf/ext/kc_emailnotification/ext_tables.php on line 65
Warning: Illegal string offset 'tt_address_pi1' in /kunden/removedPath/typo3conf/ext/tt_address/ext_tables.php on line 89

The mentions lines are:

$TCA["tt_content"]["types"]["list"]["subtypes_excludelist"][$_EXTKEY."_pi1"]="layout";
$TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY . '_pi1'] = 'layout,select_key,pages';
...

“subtype_addlist” was never a problem. So only “subtypes_excludelist” throws these Warnings.

Stefan

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.