I got a problem with the pager:

Fatal error: __clone method called on non-object in /symfony/sf1.2/lib/
plugins/sfPropelPlugin/lib/addon/sfPropelPager.class.php on line 40

This is my code:
public function executeOverview(sfWebRequest $oRequest){
        $oPager = new sfPropelPager('Estate', 3);
        $oPager->setCriteria(EstatePeer::getOverview());
        $oPager->setPage($oRequest->getParameter('page', 1));
        $oPager->init();

        $this->pager = $oPager;
}

Does someone know what is wrong?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to