Project

General

Profile

Actions

Bug #98406

closed

PHP Warning: Undefined array key X in AbstractItemProvider

Added by Daniel Siepmann about 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2022-09-22
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
11
PHP Version:
8.1
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

There are three some cases where keys are accessed without checking if they exist.

                            $rowFieldValue = $rowFieldValue[0]['uid'] ?? $rowFieldValue[0];
                $label = $languageService->sL(trim($item[0]));
            $value = strlen((string)$item[1]) > 0 ? $item[1] : '';

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #98321: Address "undefined array key" issues for PHP 8Closed2022-09-10

Actions
Actions

Also available in: Atom PDF