Actions
Bug #95858
closedPHP Warning: Undefined array key "1." in typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php
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
Actions