Fatal error: Call to a member function count() on a non-object in /home/linha/library/Doctrine/Pager.php on line 108