Project

General

Profile

Actions

Bug #100098

closed

PHP Warning in Backend with php 8.2

Added by Peter Linzenkirchner about 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2023-03-06
Due date:
% Done:

0%

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

Description

Typoscript Conditions like

[request.getQueryParams()['tx_news_pi1'] && request.getQueryParams()['tx_news_pi1']['news'] > 0]
[3390 in tree.rootLineIds || page["uid"] == 3285]
[request.getCookieParams()['contrast'] == 1]
[page["layout"] == '1']

Throws the following php warnings in the backend (only in section "system"!) when working with php 8.2:

PHP Warning
Core: Error handler (BE): PHP Warning: Undefined array key "contrast" in /Volumes/web/sites/xyz/123/vendor/symfony/expression-language/Node/GetAttrNode.php line 97

PHP Warning
Core: Error handler (BE): PHP Warning: Undefined array key "contrast" in /Volumes/web/sites/xyz/123/vendor/symfony/expression-language/Node/GetAttrNode.php line 97

PHP Warning
Core: Error handler (BE): PHP Warning: Undefined array key "contrast" in /Volumes/web/sites/xyz/123/vendor/symfony/expression-language/Node/GetAttrNode.php line 97

PHP Warning
Core: Error handler (BE): PHP Warning: Undefined array key "tx_news_pi1" in /Volumes/web/sites/xyz/123/vendor/symfony/expression-language/Node/GetAttrNode.php line 97

PHP Warning
Core: Error handler (BE): PHP Warning: Undefined array key "layout" in /Volumes/web/sites/xyz/123/vendor/symfony/expression-language/Node/GetAttrNode.php line 97

PHP Warning
Core: Error handler (BE): PHP Warning: Undefined array key "tx_news_pi1" in /Volumes/web/sites/xyz/123/vendor/symfony/expression-language/Node/GetAttrNode.php line 97

PHP Warning
Core: Error handler (BE): PHP Warning: Undefined array key "uid" in /Volumes/web/sites/xyz/123/vendor/symfony/expression-language/Node/GetAttrNode.php line 97

PHP Warning
Core: Error handler (BE): PHP Warning: Undefined array key "uid" in /Volumes/web/sites/xyz/123/vendor/symfony/expression-language/Node/GetAttrNode.php line 97

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #95781: PHP Warning: Undefined array key "uid" in /app/vendor/symfony/expression-language/Node/GetAttrNode.phpRejected2021-10-26

Actions
Related to TYPO3 Core - Bug #98515: Undefined array key with symfony expression results in log entriesRejectedFrank Nägler2022-10-04

Actions
Actions

Also available in: Atom PDF