Project

General

Profile

Actions

Bug #100563

closed

Unable to get property "type" of non-object "getTSFE()" in TYPO3 12.4.0-dev when using condition getTSFE().type in backend context

Added by Alex Kellner about 1 year ago. Updated about 1 year ago.

Status:
Resolved
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2023-04-12
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

I just updated from TYPO3 12.2 to 12.4.0-dev and faced an issue in LUXletter when opening the own backend module.
This seems to be related to this TypoScript:

[getTSFE().type == 1562349004]
...
[end]

Playing with [traverse(page,'type') == 1562349004] but this seems not to work in frontend.

Any help for me here?

Related to: https://github.com/in2code-de/luxletter/issues/174


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Task #100237: Deprecate two TypoScript related ExceptionsClosed2023-03-21

Actions
Related to TYPO3 Core - Task #100672: Correct examples around getTSFE() in changelogsClosedChris Müller2023-04-19

Actions
Actions

Also available in: Atom PDF