Issue Bug Closed

#95993PHP Warning: Undefined array key 1 in typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 4608

Florian Rival 11/16/21, 11:17 updated 10/04/22, 14:13

Description

This warning is specific to PHP v8 because $rootLine[$key][$field] doesn’t exist in method rootLineValue().

This is because in PHP V8, a number of warnings have been converted into Error exceptions and especially : Attempting to read an undefined array key.

Have a look here : [[https://www.php.net/manual/fr/migration80.incompatible.php]]

Reviews 1

History 26

  1. Gerrit Code Review pushed patch set 1 for master to change 72190 status New Under Review 11/16/21, 11:34

  2. Gerrit Code Review pushed patch set 2 for master to change 72190 11/16/21, 12:22

  3. Gerrit Code Review pushed patch set 3 for master to change 72190 11/16/21, 13:41

  4. Gerrit Code Review pushed patch set 4 for master to change 72190 11/16/21, 18:09

  5. Florian Rival commented and changed status Under Review Resolved done 0 % 100 % 11/16/21, 21:36

    Applied in changeset commit:3d1c9e2546ce17502fabee6b92f6208fefe51766.

  6. Benni Mack changed status Resolved Closed 10/04/22, 14:13