Actions
Bug #98595
closedBackendUtility::getProcessedValue PHP Runtime Deprecation Notice for flex fields with NULL pi_flexform value in PHP 8.1
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend API
Target version:
-
Start date:
2022-10-12
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
11
PHP Version:
8.1
Tags:
Complexity:
no-brainer
Is Regression:
Sprint Focus:
Description
$value
is nullable, as pi_flexform
is defined as pi_flexform mediumtext,
- and thus nullable - in EXT:frontend
The offending code section in TYPO3 11.5.17 at /public/typo3/sysext/backend/Classes/Utility/BackendUtility.php:1726
:
case 'flex': $l = strip_tags($value); break;
Solution: Coerce $value
to string
.
Actions