Project

General

Profile

Actions

Bug #103892

closed

PHP Warning: Array to string conversion in BackendUtility when label_alt with multivalue field

Added by Stefan Terborg 6 months ago. Updated 6 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2024-05-24
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

TCA: When setting label_alt to a multivalue field (e.g. select) and having label_alt_force configured the backend will throw a warning:

PHP Warning: Array to string conversion in vendor/typo3/cms-backend/Classes/Utility/BackendUtility.php line 1545

The line reads:

$recordTitle = trim(strip_tags((string)($row[$fN] ?? '')));

Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #103838: label_alt triggers PHP warning when pointing to certain field typesClosed2024-05-15

Actions
Actions

Also available in: Atom PDF