Bug #15439
closed
Table wizards throws a fatal error
Added by Bjrn Kraus over 18 years ago.
Updated over 18 years ago.
Category:
Backend User Interface
Description
If you create a new table content element and click on the table wizard icon PHP 5.1.2 throws a fatal error.
Fatal error: Cannot use string offset as an array in /home/phoenix-newweb/htdocs/typo3/wizard_table.php on line 228
(issue imported from #M2837)
I cannot reproduce this with PHP 5.1.1
Which steps did you undertake to get this error message?
-------------------------------------------------
function getConfigCode($row) {
$flexForm = t3lib_div::xml2array($row['pi_flexform']);
$this->tableParsing_quote = $flexForm['data']['s_parsing']['lDEF']['tableparsing_quote']['vDEF']?chr(intval($flexForm['data']['s_parsing']['lDEF']['tableparsing_quote']['vDEF'])):'';
Add an new text content element. Change the typ to table. Press the table wizzard button. (Don't insert anything!)
--> Fatal error: Cannot use string offset as an array in /home/.../htdocs/typo3/wizard_table.php on line 228
I can confirm this bug.
Duplicate of bug 0002722
In which version is this solved? In 4.0rc2 it's still there ...
Also available in: Atom
PDF