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 almost 3 years ago. Updated almost 3 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

Also available in: Atom PDF