Bug #96907
closedUndefined array key "uid" - /symfony/expression-language/Node/GetAttrNode.php line 97
0%
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 "uid" in /var/www/vhosts/typo3_source/typo3_src-11.5.6/vendor/symfony/expression-language/Node/GetAttrNode.php line 97
I am using PHP 8.1.2 and TYPO3 11.5.6. The same problem is with 11.5.5
Can anyone help?
Updated by Patrick Crausaz almost 3 years ago
Experiencing the same issue with TYPO3 11.5.6 and PHP 8.0.
The warning shows up in the backend Page module for every symfony expressions in TypoScript AND in tsconfig.
[page["uid"] == 123] ... [end]
For my dev env, I did set SYS/exceptionalErrors to 28674 to ignore the warnings.
Updated by Georg Ringer almost 3 years ago
- Status changed from New to Needs Feedback
could not reproduce on 11 or 12.
are you using composer, if yes, which version of expression-language
are you using? Please runcomposer show | grep expression
works fine here with v5.4.0
Updated by Rene Tobias almost 3 years ago
Hey, i am using "regular" TYPO3 installation, so no composer.
Updated by David Hoeckele almost 3 years ago
- Is duplicate of Bug #95781: PHP Warning: Undefined array key "uid" in /app/vendor/symfony/expression-language/Node/GetAttrNode.php added
Updated by Riccardo De Contardi almost 3 years ago
- Status changed from Needs Feedback to Closed
I close this issue in favor of #95781
please continue the discussion there.
If you think that this is the wrong decision, please reopen it or ping me and I'll do. Thank you
Updated by Felix Nagel about 2 years ago
- Related to Bug #94707: Undefined array key / Trying to access array offset on value of type null / PHP Version 8.0.8 added
Updated by Oliver Hader over 1 year ago
- Related to Bug #101447: PHP Warning: Undefined array key "uid" in GetAttrNode.php added
Updated by Markus Dübbert 8 months ago
[traverse(page, "uid") == 17]
solved the problem