Project

General

Profile

Actions

Bug #98580

closed

PHP Warning: Undefined array key "updateReferenceIndex" in extbase/Classes/Persistence/Generic/Backend.php

Added by Bastian Stargazer about 2 years ago. Updated almost 2 years ago.

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

Also available in: Atom PDF