Actions
Bug #98580
closedPHP Warning: Undefined array key "updateReferenceIndex" in extbase/Classes/Persistence/Generic/Backend.php
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Extbase
Target version:
-
Start date:
2022-10-11
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
11
PHP Version:
8.0
Tags:
Complexity:
no-brainer
Is Regression:
Sprint Focus:
Description
PHP Warning: Undefined array key "updateReferenceIndex" in /var/www/html/public/typo3/sysext/extbase/Classes/Persistence/Generic/Backend.php line 651
The $frameworkConfiguration looks like this:
array (
'persistence' => array (
'storagePid' => 0,
),
'controllerConfiguration' => array (),
)
Solution:
if (($frameworkConfiguration['persistence']['updateReferenceIndex'] ?? null) === '1') {
// ...
}
TYPO3 v11.5.17
PHP v8.0
Actions