Project

General

Profile

Actions

Bug #95858

closed

PHP Warning: Undefined array key "1." in typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php

Added by Florian Rival about 3 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2021-11-03
Due date:
% Done:

100%

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

Description

How to reproduce :
  • create a text content element in a page
  • in bodytext, add a table
  • save and show the frontend

The the exception appears.

The problem is located in this file : typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 3461

   $cfg['HTMLtableCells.'][$cc . '.']['callRecursive']

$cc has a value of 1 and the only value existing in the array is "$cfg['HTMLtableCells.']['default.']" so "$cfg['HTMLtableCells.']['1.']" causes the exception.

But even with "$cfg['HTMLtableCells.']['default.']" there are other missing array keys : 'callRecursive', 'tagStdWrap', etc.


Files

Sélection_033.png (15.8 KB) Sélection_033.png Florian Rival, 2021-11-03 11:50
Actions

Also available in: Atom PDF