Issue Bug Closed

#99125Multiple Static Page Arguments end in "Array to string conversion"

Daniel Hettler 11/18/22, 08:19 updated 07/09/24, 12:46

Description

Hello,

in an environment with TYPO3 v11.5.18 and PHP 8.1 the backend module “Indexing” of EXT:indexed_search breaks in the action “List: pages” if there is an entry with multiple values (Array) like this:

clipboard-202211180913-jeci6.png

The error message is “PHP Warning: Array to string conversion in /var/www/html/vendor/typo3fluid/fluid/src/Core/Parser/SyntaxTree/AbstractNode.php line 73”

To get rid of this message I’ve changed this line in the Fluid template from

{key}={values}

to

{key}={values -> f:format.json()}

(typo3/sysext/indexed_search/Resources/Private/Templates/Administration/Pages.html – line 64)

But I’am not sure if this is the desired solution.

Best regards!

Reviews 2