diff --git a/Classes/JumpUrlProcessor.php b/Classes/JumpUrlProcessor.php index e6d4a1a..3f94fae 100644 --- a/Classes/JumpUrlProcessor.php +++ b/Classes/JumpUrlProcessor.php @@ -203,9 +203,9 @@ protected function getTypoLinkParameter(array $configuration) return $linkParameter; } - protected function getTypoScriptFrontendController(): TypoScriptFrontendController + protected function getTypoScriptFrontendController(): ?TypoScriptFrontendController { - return $this->frontendController ?? $GLOBALS['TSFE']; + return $this->frontendController ?? $GLOBALS['TSFE'] ?? null; } protected function getContentObjectRenderer(): ContentObjectRenderer