Project

General

Profile

Actions

Bug #101682

closed

PHP Warning: Undefined array key 0 in InlineRecordContainer

Added by Thomas Hohn 9 months ago. Updated 9 months ago.

Status:
Resolved
Priority:
Should have
Assignee:
Category:
FormEngine aka TCEforms
Target version:
Start date:
2023-08-14
Due date:
% Done:

100%

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

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

Actions #1

Updated by Thomas Hohn 9 months ago

  • Subject changed from PHP Warning PHP Warning: Undefined array key 0 in InlineRecordContainer to PHP Warning: Undefined array key 0 in InlineRecordContainer
Actions #2

Updated by Gerrit Code Review 9 months ago

  • Status changed from New to Under Review

Patch set 1 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80548

Actions #3

Updated by Gerrit Code Review 9 months ago

Patch set 2 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80548

Actions #4

Updated by Gerrit Code Review 9 months ago

Patch set 3 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80548

Actions #5

Updated by Anonymous 9 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF