Bug #97624
closed
Undefined array key "module" - /symfony/expression-language/Node/GetAttrNode.php line 97
Added by Rene Tobias over 2 years ago.
Updated about 2 years ago.
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 to Bug #95781: PHP Warning: Undefined array key "uid" in /app/vendor/symfony/expression-language/Node/GetAttrNode.php added
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 :)
- Related to Bug #98197: Undefined array key in form variants if variable of variant condition is empty added
- Status changed from New to Closed
Duplicate of #95781 → please continue there
- Related to Bug #94707: Undefined array key / Trying to access array offset on value of type null / PHP Version 8.0.8 added
Also available in: Atom
PDF