Zend Framework Default Application

An error occurred

Application error

Exception information:

Message: LIMIT argument offset=-10 is not valid

Stack trace:

#0 /nowa/library/Zend/Db/Select.php(1279): Zend_Db_Adapter_Pdo_Mysql->limit('SELECT `aktualn...', 10, -10)
#1 /nowa/library/Zend/Db/Select.php(707): Zend_Db_Select->_renderLimitoffset('SELECT `aktualn...')
#2 /nowa/library/Zend/Db/Table/Select.php(222): Zend_Db_Select->assemble()
#3 /nowa/library/Zend/Db/Adapter/Abstract.php(468): Zend_Db_Table_Select->assemble()
#4 /nowa/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query(Object(Zend_Db_Table_Select), Array)
#5 /nowa/library/Zend/Db/Select.php(688): Zend_Db_Adapter_Pdo_Abstract->query(Object(Zend_Db_Table_Select))
#6 /nowa/application/models/News.php(329): Zend_Db_Select->query(2)
#7 /nowa/application/controllers/IndexController.php(869): Model_News->getNewsSub('menu', NULL, 'mistrz-ortograf...', 10, ' OR id_kat='6' ...')
#8 /nowa/library/Zend/Controller/Action.php(516): IndexController->siteAction()
#9 /nowa/library/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('siteAction')
#10 /nowa/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#11 /nowa/library/Zend/Application/Bootstrap/Bootstrap.php(105): Zend_Controller_Front->dispatch()
#12 /nowa/library/Zend/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()
#13 /nowa/index.php(26): Zend_Application->run()
#14 {main}  

Request Parameters:

array (
  'l' => 'menu',
  'n' => 'konkursy',
  'fake' => 'miedzyszkolne',
  'p' => 'mistrz-ortografii.html',
  'module' => 'default',
  'controller' => 'index',
  'action' => 'site',
)