Bug #98317
closedPHP Warning: Undefined array key "userFunc." TYPO3 v11.5.15 PHP 8.1
100%
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
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
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
Updated by Stefan Bürk almost 2 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset d7eed01dbc8f4582802d0e16c7a7f35df9a4cf3a.