Project

General

Profile

Actions

Bug #96217

closed

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

Added by Florian Rival over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
Start date:
2021-12-03
Due date:
% Done:

100%

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

Description

How to reproduce :
  • create a content element
  • add a text like that : https://domain.com/
    => PHP Warning: Undefined array key "ATagBeforeWrap" in ContentObjectRenderer.php
  • or like that : https://domain.com
    => error : PHP Warning: Undefined array key "path" in ContentObjectRenderer.php line 3937

This is because in PHP V8, a number of warnings have been converted into Error exceptions and especially : Attempting to read an undefined array key.

Have a look here : [[https://www.php.net/manual/fr/migration80.incompatible.php]]


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #96325: PHP Warning: Undefined array keys when using history for pages and recordsClosed2021-12-10

Actions
Actions #1

Updated by Gerrit Code Review over 2 years ago

  • Status changed from New to Under Review

Patch set 1 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/+/72480

Actions #2

Updated by Gerrit Code Review over 2 years ago

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/+/72480

Actions #3

Updated by Gerrit Code Review over 2 years ago

Patch set 3 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/+/72480

Actions #4

Updated by Gerrit Code Review over 2 years ago

Patch set 4 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/+/72480

Actions #5

Updated by Gerrit Code Review over 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/+/72423

Actions #6

Updated by Florian Rival over 2 years ago

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

Updated by Gerrit Code Review over 2 years ago

  • Status changed from Resolved to Under Review

Patch set 1 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/+/72614

Actions #8

Updated by Benni Mack over 2 years ago

  • Related to Bug #96325: PHP Warning: Undefined array keys when using history for pages and records added
Actions #9

Updated by Benni Mack over 2 years ago

  • Status changed from Under Review to Closed

Fixed with #96325

Actions

Also available in: Atom PDF