Project

General

Profile

Actions

Bug #97624

closed

Undefined array key "module" - /symfony/expression-language/Node/GetAttrNode.php line 97

Added by Rene Tobias almost 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
composer
Start date:
2022-05-13
Due date:
% Done:

0%

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

Description

Hello,

every time i click somewhere in TYPO3 backend i get this error writen in Log:

Core: Error handler (BE): PHP Warning: Undefined array key "module" in /var/www/vhosts/typo3_source/typo3_src-11.5.10/vendor/symfony/expression-language/Node/GetAttrNode.php line 97

I am using PHP 8.1.2 and TYPO3 11.5.10


Related issues 3 (0 open3 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 #98197: Undefined array key in form variants if variable of variant condition is emptyClosed2022-08-24

Actions
Related to TYPO3 Core - Bug #94707: Undefined array key / Trying to access array offset on value of type null / PHP Version 8.0.8Closed2021-08-04

Actions
Actions #1

Updated by Chris Müller almost 2 years ago

  • Related to Bug #95781: PHP Warning: Undefined array key "uid" in /app/vendor/symfony/expression-language/Node/GetAttrNode.php added
Actions #2

Updated by Michael Kasten almost 2 years ago

Confirmed here:

Core: Error handler (BE): PHP Warning: Undefined array key "colPos" in /var/www/html/vendor/symfony/expression-language/Node/GetAttrNode.php line 97

This section

return $array[$this->nodes['attribute']->evaluate($functions, $values)];

guess should be

return $array[$this->nodes['attribute']->evaluate($functions, $values)] ?? [];

updated: fixing wrong line number :)

Actions #3

Updated by Oliver Hader over 1 year ago

  • Category set to composer
Actions #4

Updated by Oliver Hader over 1 year ago

My previous comment was on a newer version, which requires PHP 8.1 - not an option for TYPO3 v11.

The situation for symfony/expression-language v5.4 is unchanged:
https://github.com/symfony/symfony/blob/5.4/src/Symfony/Component/ExpressionLanguage/Node/GetAttrNode.php#L93-L97

Actions #5

Updated by Georg Ringer over 1 year ago

  • Related to Bug #98197: Undefined array key in form variants if variable of variant condition is empty added
Actions #6

Updated by Oliver Hader over 1 year ago

  • Status changed from New to Closed

Duplicate of #95781 → please continue there

Actions #7

Updated by Felix Nagel over 1 year ago

  • Related to Bug #94707: Undefined array key / Trying to access array offset on value of type null / PHP Version 8.0.8 added
Actions

Also available in: Atom PDF