Fatal error: Uncaught exception 'Zend_Db_Adapter_Exception' with message 'LIMIT argument offset=-4 is not valid' in /var/www/feapi/library/Zend/Db/Adapter/Pdo/Mysql.php:259 Stack trace: #0 /var/www/feapi/library/Zend/Db/Select.php(1277): Zend_Db_Adapter_Pdo_Mysql->limit('SELECT `feapi_e...', 4, -4) #1 /var/www/feapi/library/Zend/Db/Select.php(705): Zend_Db_Select->_renderLimitoffset('SELECT `feapi_e...') #2 /var/www/feapi/library/Zend/Db/Table/Select.php(222): Zend_Db_Select->assemble() #3 /var/www/feapi/library/Zend/Db/Adapter/Abstract.php(468): Zend_Db_Table_Select->assemble() #4 /var/www/feapi/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query(Object(Zend_Db_Table_Select), Array) #5 /var/www/feapi/library/Zend/Db/Table/Abstract.php(1575): Zend_Db_Adapter_Pdo_Abstract->query(Object(Zend_Db_Table_Select)) #6 /var/www/feapi/library/Zend/Db/Table/Abstract.php(1390): Zend_Db_Table_Abstract->_fetch(Object(Zend_Db_Table_Select)) #7 /var/www/feapi/application/modules/default/controllers/EditaisContr in /var/www/feapi/library/Zend/Db/Adapter/Pdo/Mysql.php on line 259