Bug #95858
closedPHP Warning: Undefined array key "1." in typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php
100%
Description
- 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
Updated by Gerrit Code Review about 3 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72058
Updated by Gerrit Code Review about 3 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72058
Updated by Gerrit Code Review about 3 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72058
Updated by Florian Rival about 3 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 8ff90ffd81370d1f10e5b5b3e262760b57c9b1c1.