Issue Task Closed

#54509renderSection (and renderPartial) fails when using StandaloneView

Stig Nørgaard Færch 12/19/13, 12:53 updated 10/02/18, 12:07

Description

Fatal error: __clone method called on non-object in /home/sites/*********/htdocs/typo3_src-6.2.0beta1/typo3/sysext/fluid/Classes/View/AbstractTemplateView.php on line 227

The first line in renderSection() calls
$renderingContext = $this->getCurrentRenderingContext();

in getCurrentRenderingContext() we have:
$currentRendering = end($this->renderingStack);

the problem seems to be that $this->renderingStack never contains any object when using StandaloneView.

the only place that renderingStack seems to be filled is in startRendering(). But I cannot seem to find any public function which will invoke this function.

Reviews 1