Issue Bug Closed

#104812Undefined array key exception in ReferenceIndex.php:765

Thomas Sam Wittich 09/04/24, 08:20 updated 12/02/25, 14:33

Description

Dears, in Typo3 11 is asummingly non-null-safe exception when a array key is missing:

[2024-09-04 04:10:24 CEST]
[2024-09-04 04:10:24 CEST]  [ERROR] PHP Warning: Undefined array key 1 in
[2024-09-04 04:10:24 CEST]          /home/p-aaaaaa/html/typo3-project/public/typo3/sysext/core/C
[2024-09-04 04:10:24 CEST]          lasses/Database/ReferenceIndex.php line 765
[2024-09-04 04:10:24 CEST]
[2024-09-04 04:10:24 CEST] Exit-Code: 1

The mentioned line hold an if-statment without checking the existence of the array-keys in the condition.

It occured with TYPO3 v11 latest and within the cron, cli scheduler:run.

Please investigate.

Thank you, Sam

Reviews 3