Bug #98425
closedPHP Warning: Undefined array key 1 in */public/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 3732
100%
Description
in typoscript
tags.img = TEXT
tags.img {
current = 1
preUserFunc = Netresearch\RteCKEditorImage\Controller\ImageRenderingController->renderImageAttributes
}
ich habe update von 10 auf 11 gemacht, im Frontend zeigt diese Fehler immer.
Das Problem ist: in page gibt es ein Content-Element Text&Media und im Richeditor gibt es <img> hinzufügt.
Updated by fulai zhang about 2 years ago
fulai zhang wrote:
in typoscript
tags.img = TEXT
tags.img {
current = 1
preUserFunc = Netresearch\RteCKEditorImage\Controller\ImageRenderingController->renderImageAttributes
}
ich habe update von 10 auf 11 gemacht, im Frontend zeigt diese Fehler immer.
Das Problem ist: in page gibt es ein Content-Element Text&Media und im Richeditor gibt es <img> hinzufügt.
Lösungsvorschlag:
line 3732 to 3735
$newInput = $this->cObjGetSingle($theName, $theConf, '/parseFunc/.tags.' . $tag0);
// fetch the content object
$contentAccum[$contentAccumP] = $newInput;
$this->data[$this->currentValKey] = $contentAccum[$contentAccumP];
oder line 3732:
$contentAccum[$contentAccumP] = isset($contentAccum[$contentAccumP])
? $contentAccum[$contentAccumP] . $data
: $data;
Updated by Gerrit Code Review almost 2 years ago
- Status changed from New to Under Review
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/77563
Updated by Gerrit Code Review almost 2 years ago
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/+/77573
Updated by Benni Mack almost 2 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 72b938d42b9204679be07143c3be44b93d844f39.