getTSFE().type Condition Error
Hey, when i login into TYPO3 BE i get an error (in error log) for FE condition defined in Typoscript Setup: [getTSFE().type 100]. I use this condition for news RSS display.
I am attaching full error in attachment bellow.
I manage to fix this problem with that: [getTSFE() && getTSFE().type 100]
Is this a bug or wanted behaviour?
I am using TYPO3 9.5.13 and PHP 7.2
- Assignee set to Simon Gilli
Trying currently to reproduce this issue together with the reporter.
- Status changed from New to Accepted
- Assignee deleted (
- Target version deleted (
Candidate for patchlevel)
In BE context getTSFE() is not set and causes this issue. See related issues
- Related to Bug #87021: Using "getTSFE().beUserLogin == 1" as expression in an TypoScript condition leads to an error in the Symfony Expression Language added
- Status changed from Accepted to Closed
This issue should be fixed now see related bug.
Also available in: Atom