Project

General

Profile

Actions

Bug #98317

closed

PHP Warning: Undefined array key "userFunc." TYPO3 v11.5.15 PHP 8.1

Added by Wilfrid Marie almost 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2022-09-09
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
11
PHP Version:
8.1
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Hello, I have an issue with typo3 v11.5.15, php8.1: PHP Warning: Undefined array key "userFunc."
The issue comes from the file: typo3/sysext/core/Classes/Html/HtmlParser.php L580 (screenshot of the code)
Has you can see on the line 580 typo3 doesn't check if the array key "userFunc." exists, whereas on the top of this line, the check of the existence of the array key "userFunc" is done.
We though it might be a bad configuration from our side but then, why the 'else' acts like if the previous 'if' doesn't work, do something totally different?


Files

Actions #1

Updated by Wilfrid Marie almost 2 years ago

  • Tracker changed from Bug to Task
Actions #2

Updated by Wilfrid Marie almost 2 years ago

  • Tracker changed from Task to Bug
Actions #3

Updated by Gerrit Code Review almost 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/+/75748

Actions #4

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

Actions #5

Updated by Stefan Bürk almost 2 years ago

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

Updated by Benni Mack almost 2 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF