Actions
Bug #89658
closedRuntimeException Unable to get a property on a non-object when parsing new Symfony ExpressionLanguage expressions
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
TypoScript
Target version:
-
Start date:
2019-11-12
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
9
PHP Version:
7.3
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
My error logs gets flooded with errors like this: "RuntimeException Unable to get a property on a non-object"
/vendor/symfony/expression-language/Node/GetAttrNode.php in Symfony\Component\ExpressionLanguage\Node\GetAttrNode::evaluate at line 73
This happens to Symfony Expression Language expressions in TypoScript.
The expressions that I use are always like this: getTSFE().id == 1
TYPO3: 9.5.11
PHP: 7.3.10
Files
Updated by Markus Klein almost 5 years ago
- Is duplicate of Bug #87021: Using "getTSFE().beUserLogin == 1" as expression in an TypoScript condition leads to an error in the Symfony Expression Language added
Updated by Markus Klein almost 5 years ago
- Status changed from New to Closed
Closing as duplicate.
Accessing getTSFE() (in BE context) will be fixed with #87021
Actions