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

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