Issue Bug Closed

#101682PHP Warning: Undefined array key 0 in InlineRecordContainer

Thomas Hohn 08/14/23, 11:39 updated 07/09/24, 14:15

Description

User has a tt_content element with an Image.
The images record, for some weird reason is deleted in sys_file.

This will lead to the error:

PHP Warning: Undefined array key 0 in typo3/sysext/backend/Classes/Form/Container/InlineRecordContainer.php line 489 ; PHP message: TYPO3 [WARNING] request="0fdbea9f8e960" component="TYPO3.CMS.Core.Error.ErrorHandler": Core: Error handler (BE): PHP Warning: Trying to access array offset on value of type null in typo3/sysext/backend/Classes/Form/Container/InlineRecordContainer.php line 489 '

NOTE This error only applies to TYPO3 11 since the code has been rewritten in TYPO3 v12

Reviews 1

History 36

  1. Thomas Hohn changed subject PHP Warning PHP Warning: Undefined array key 0 in InlineRecordContainer PHP Warning: Undefined array key 0 in InlineRecordContainer 08/14/23, 11:40

  2. Gerrit Code Review pushed patch set 1 for 11.5 to change 80548 status New Under Review 08/14/23, 11:52

  3. Gerrit Code Review pushed patch set 2 for 11.5 to change 80548 08/14/23, 11:56

  4. Gerrit Code Review pushed patch set 3 for 11.5 to change 80548 08/14/23, 12:31

  5. Anonymous commented and changed status Under Review Resolved done 0 % 100 % 08/15/23, 13:30

    Applied in changeset commit:ea6e19a5b301e0ee0455ad1ac71221108250c9e4.

  6. Benni Mack changed status Resolved Closed 07/09/24, 14:15