Project

General

Profile

Actions

Bug #99125

closed

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

Added by Daniel Hettler about 2 years ago. Updated 4 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Indexed Search
Start date:
2022-11-18
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
11
PHP Version:
8.1
Tags:
PHP, 8.0, 8.1, compatibility
Complexity:
Is Regression:
Sprint Focus:

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:

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!


Related issues 1 (0 open1 closed)

Has duplicate TYPO3 Core - Bug #103847: indexed_search - module - List: pages = error: Array to string conversionClosed2024-05-16

Actions
Actions

Also available in: Atom PDF