diff --git a/Classes/View/UncacheTemplateView.php b/Classes/View/UncacheTemplateView.php index 315b636dc..17c78ecab 100644 --- a/Classes/View/UncacheTemplateView.php +++ b/Classes/View/UncacheTemplateView.php @@ -83,6 +83,7 @@ public function callUserFunction(string $postUserFunc, array $conf): string /** @var RenderingContext $renderingContext */ $renderingContext = GeneralUtility::makeInstance(RenderingContext::class); + $renderingContext->setControllerContext($controllerContext); } $this->prepareContextsForUncachedRendering($renderingContext);