Issue Bug Closed

#100345Unable to get property "type" of non-object "getTSFE()"

Andreas Nedbal 03/29/23, 09:12 updated 06/03/25, 10:22

Description

Following condition is breaking in 12.3 (this is not a 12-compatible repository however, as a notice for testing/evaluating)
https://github.com/einpraegsam/powermail/blob/develop/Configuration/TypoScript/Powermail_Frontend/setup.typoscript#L116

According to the documentation getTSFE() should evaluate to false if it’s not available in a given context. This seems to happen here, but it still tries to access the type property afterwards, leading to an exception.

Reviews 0

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