Notice: Undefined property: stdClass::$offset in /home/linha/application/Controller/indexController.php on line 243

Fatal error: Uncaught exception 'Doctrine_Query_Exception' with message 'Cannot define NULL as part of query when defining 'offset'.' in /home/linha/library/Doctrine/Query/Abstract.php:2047 Stack trace: #0 /home/linha/library/Doctrine/Query/Abstract.php(1763): Doctrine_Query_Abstract->_addDqlQueryPart('offset', NULL) #1 /home/linha/application/Controller/indexController.php(245): Doctrine_Query_Abstract->offset(NULL) #2 /home/linha/library/controller/abstract.php(70): indexController->mais_postsAction() #3 /home/linha/library/router.php(26): controller_abstract->load(Array) #4 /home/linha/bootstrap.php(99): router->load() #5 /home/linha/public_html/index.php(4): include('/home/linha/boo...') #6 {main} thrown in /home/linha/library/Doctrine/Query/Abstract.php on line 2047