[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 "each" of
the render-method in ViewHelper
"Tx_Fluid_ViewHelpers_ForViewHelper". 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->registerRenderMethodArguments()
#1
/SERVER/typo3/trunk/typo3/sysext/fluid/Classes/Core/TemplateParser.php(316):
Tx_Fluid_Core_AbstractViewHelper->prepareArguments()
#2
/SERVER/typo3/trunk/typo3/sysext/fluid/Classes/Core/TemplateParser.php(278):
Tx_Fluid_Core_TemplateParser->handler_openingViewHelperTag(Object(Tx_Fluid_Core_ParsingState),
'f', 'for', ' each="streetIn...', false)
#3
/SERVER/typo3/trunk/typo3/sysext/fluid/Classes/Core/TemplateParser.php(189):
Tx_Fluid_Core_TemplateParser->buildMainObjectTree(Array)
#4
/SERVER/typo3/trunk/typo3/sysext/fluid/Classes/View/TemplateView.php(198):
Tx_Fluid_Core_TemplateParser->parse('<h1>Strassenlis...')
#5
/SERVER/typo3/trunk/typo3/sysext/fluid/Classes/View/TemplateView.php(108):
Tx_Fluid_View_TemplateView->parseTemplate('/SERVER/htdocs/...')
#6
/SERVER/typo3/trunk/typo3/sysext/extbase/Classes/MVC/Controller/ActionController.php(211):
Tx_Fluid_View_TemplateView->render()
#7
/SERVER/typo3/trunk/typo3/sysext/extbase/Classes/MVC/Controller/ActionController.php(131):
Tx_Extbase_MVC_Controller_ActionController->callActionMethod()
#8 /SERVER/typo3/trunk/typo3/sysext/extbase/Classes/Dispatcher.php(58):
Tx_Extbase_MVC_Controller_ActionController->processRequest(Object(Tx_Extbase_MVC_Web_Request),
Object(Tx_Extbase_MVC_Web_Response))
#9 [internal function]: Tx_Extbase_Dispatcher->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