[TYPO3-mvc] PHP Error: 'Tx_Fluid_Core_ParsingException'

Steffen Ritter info at rs-websystems.de
Tue Jun 9 17:09:10 CEST 2009


Hey folks,
I'm encountering an error I do not know how to handle

<b>Fatal error</b>:  Uncaught exception 'Tx_Fluid_Core_ParsingException' 
with message 'could not determine type of argument &quot;each&quot; of 
the render-method in ViewHelper 
&quot;Tx_Fluid_ViewHelpers_ForViewHelper&quot;. Either the methods 
docComment is invalid or some PHP optimizer strips off comments.' in 
/SERVER/typo3/trunk/typo3/sysext/fluid/Classes/Core/AbstractViewHelper.php:213
Stack trace:
#0 
/SERVER/typo3/trunk/typo3/sysext/fluid/Classes/Core/AbstractViewHelper.php(178): 
Tx_Fluid_Core_AbstractViewHelper-&gt;registerRenderMethodArguments()
#1 
/SERVER/typo3/trunk/typo3/sysext/fluid/Classes/Core/TemplateParser.php(316): 
Tx_Fluid_Core_AbstractViewHelper-&gt;prepareArguments()
#2 
/SERVER/typo3/trunk/typo3/sysext/fluid/Classes/Core/TemplateParser.php(278): 
Tx_Fluid_Core_TemplateParser-&gt;handler_openingViewHelperTag(Object(Tx_Fluid_Core_ParsingState), 
'f', 'for', ' each=&quot;streetIn...', false)
#3 
/SERVER/typo3/trunk/typo3/sysext/fluid/Classes/Core/TemplateParser.php(189): 
Tx_Fluid_Core_TemplateParser-&gt;buildMainObjectTree(Array)
#4 
/SERVER/typo3/trunk/typo3/sysext/fluid/Classes/View/TemplateView.php(198): 
Tx_Fluid_Core_TemplateParser-&gt;parse('&lt;h1&gt;Strassenlis...')
#5 
/SERVER/typo3/trunk/typo3/sysext/fluid/Classes/View/TemplateView.php(108): 
Tx_Fluid_View_TemplateView-&gt;parseTemplate('/SERVER/htdocs/...')
#6 
/SERVER/typo3/trunk/typo3/sysext/extbase/Classes/MVC/Controller/ActionController.php(211): 
Tx_Fluid_View_TemplateView-&gt;render()
#7 
/SERVER/typo3/trunk/typo3/sysext/extbase/Classes/MVC/Controller/ActionController.php(131): 
Tx_Extbase_MVC_Controller_ActionController-&gt;callActionMethod()
#8 /SERVER/typo3/trunk/typo3/sysext/extbase/Classes/Dispatcher.php(58): 
Tx_Extbase_MVC_Controller_ActionController-&gt;processRequest(Object(Tx_Extbase_MVC_Web_Request), 
Object(Tx_Extbase_MVC_Web_Response))
#9 [internal function]: Tx_Extbase_Dispatcher-&gt;dispatch('', Array)
   thrown in 
<b>/SERVER/typo3/trunk/typo3/sysext/fluid/Classes/Core/AbstractViewHelper.php</b> 
on line <b>213</b>

My Template simply consists of

<h1>Strassenliste</h1>
<ul>
	<f:for each="streetIndexes" as="streetIndex"><li>a</li></f:for>
</ul>


Index action only does:
public function indexAction() {
	$this->view->assign('streetIndexes', $this->streetRepository->findAll());
}

Anyone knowing this?

regards

Steffen


More information about the TYPO3-project-typo3v4mvc mailing list