[TYPO3-mvc] own widget.paginate and f.widget.paginate throws error

Claus Due claus at wildside.dk
Fri Jun 17 14:29:17 CEST 2011


Hi Johannes,

Question: did you check that the variable you pass to the ViewHelper is in fact the instance you got from your repository (if in a partial, did you add it to the partial rendering arguments too) and that the syntax of the {var} is all OK?

--

Med venlig hilsen / Kind regards

Claus Due
Code Monkey
--
Wildside A/S
Katrinebjergvej 113, DK-8200 Århus N
tlf. 86 12 64 65
http://www.wildside.dk

On Jun 17, 2011, at 2:25 PM, Johannes C. Schulz - EnzephaloN IT-Solutions wrote:

> Hello
> 
> 
> 
> Back on my extension, I run from one error to another.
> 
> 
> The error:
> 
> #1: PHP Catchable Fatal Error: Argument 1 passed to
> Tx_EnzTeaserlist_ViewHelpers_Widget_PaginateViewHelper::render() must
> implement interface Tx_Extbase_Persistence_QueryResultInterface, string
> given in
> D:\xampp\htdocs\weimar.de\typo3conf\ext\enz_teaserlist\Classes\ViewHelpers\W
> idget\PaginateViewHelper.php line 30
> 
> 
> 
> Whats wrong with my returned query?
> 
> 
> 
> Thanks
> 
> Johannes
> 
> _______________________________________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc



More information about the TYPO3-project-typo3v4mvc mailing list