Hallo zusammen,
ich habe seit heute einen seltsamen Fehler entdeckt und komme einfach nicht drauf woran das liegt..
Wenn ich innerhalb einer Section Elemente sortieren möchte, und speichere, nachdem ich die "Pfeil-Checkboxes" aktiviert habe, tritt seit heute sowohl im FE als auch im BE ein seltsamer Fehler auf.
Warning: key() [<function.key>]: Passed variable is not an array or object in ../typo3conf/ext/templavoila/mod1/index.php on line 906
Fatal error: Cannot use string offset as an array in ../typo3conf/ext/templavoila/mod1/index.php on line 907
Anscheinend stimmt etwas mit dem Zeichensatz und der Verarbeitung des Arrays nicht..
Habe schon in der PHP-Datei nachgeschaut aber irgendwie nicht drauf (ab Z.902):
if ($fieldData['type']=='array') { // Making preview for array/section parts of a FlexForm structure:
if (is_array($fieldData['subElements'][$lKey])) {
if ($fieldData['section']) {
foreach($fieldData['subElements'][$lKey] as $sectionData) {
$sectionFieldKey = key($sectionData);
if (is_array ($sectionData[$sectionFieldKey]['el'])) {
$previewContent .= '<ul>';
foreach ($sectionData[$sectionFieldKey]['el'] as $containerFieldKey => $containerData) {
$previewContent .= '<li><strong>'.$containerFieldKey.'</strong> '.$this->link_edit(htmlspecialchars(t3lib_div::fixed_lgd_cs(strip_tags($containerData[$vKey]),200)), 'tt_content', $previewData['fullRow']['uid']).'</li>';
}
$previewContent .= '</ul>';
}
}
} else {
foreach ($fieldData['subElements'][$lKey] as $containerKey => $containerData) {
$previewContent .= '<strong>'.$containerKey.'</strong> '.$this->link_edit(htmlspecialchars(t3lib_div::fixed_lgd_cs(strip_tags($containerData[$vKey]),200)), 'tt_content', $previewData['fullRow']['uid']).'<br />';
}
}
}
}
Ach ja, ich habe 4.1.3 + TV 1.3.3 im Einsatz.
Hat jemand das gleiche Problem oder irgendeinen Ansatz?
Grüße