Issue Bug Closed

#89658RuntimeException Unable to get a property on a non-object when parsing new Symfony ExpressionLanguage expressions

Peter Kraume 11/12/19, 22:03 updated 01/12/20, 13:13

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

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

Files 1

History 2

  1. Markus Klein changed Duplicates #87021 01/12/20, 13:13

  2. Markus Klein commented and changed status New Closed 01/12/20, 13:13

    Closing as duplicate.

    Accessing getTSFE() (in BE context) will be fixed with #87021