Actions
Bug #96552
closedIMG_RESOURCE cObj throws Undefined array key warnings
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2022-01-16
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
11
PHP Version:
8.0
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
If you configure an IMG_RESOURCE
cObj like this:
10 = IMG_RESOURCE 10 { file { import.data = file:current:uid treatIdAsReference = 1 width = 1280c height = 720c } }
a PHP Warning: Undefined array key "file" in typo3\sysext\frontend\Classes\ContentObject\ImageResourceContentObject.php line 32 will be thrown in the frontend on PHP 8.0+
Actions