Issue Bug Closed

#105131Reference Index Updater throws PHP warnings

Philipp Idler 09/26/24, 12:41 updated 10/01/24, 13:39

Description

We encounter a lot of these entries in our syslog table with configured Reference Index Updater Command:

Core: Error handler (BE): PHP Warning: Undefined array key "sheets" in xyz/vendor/typo3/cms-core/Classes/Configuration/FlexForm/FlexFormTools.php line 761

Taking a deeper look to figure out what’s going on, I came across Reference Index Updater is checking every flexform data (pi_flexform column in tt_content table) to check references.
Somehow the FlexFormTools traverseFlexFormXMLData method expects ‘sheets’ key in XML’s structures.
I couldn’t find any ‘sheets’ node in my whole database for column pi_flexform – having a lot of plugins and custom CEs with various flexform use cases.

So my conclusion is that this may be a bug in FlexFormTools traverseFlexFormXMLData method.

Reviews 1