PHP Exception

Message: Offset must be a positive integer or zero, -18 given File: /home/excelim/erapido_excel/vendor/doctrine/dbal/src/Platforms/AbstractPlatform.php(4382) Line: 4382

#0 /home/excelim/erapido_excel/vendor/doctrine/orm/src/Query/SqlWalker.php(588): Doctrine\DBAL\Platforms\AbstractPlatform->modifyLimitQuery('SELECT DISTINCT...', 18, -18) #1 /home/excelim/erapido_excel/vendor/doctrine/orm/src/Query/Exec/SingleSelectExecutor.php(23): Doctrine\ORM\Query\SqlWalker->walkSelectStatement(Object(Doctrine\ORM\Query\AST\SelectStatement)) #2 /home/excelim/erapido_excel/vendor/doctrine/orm/src/Query/SqlWalker.php(305): Doctrine\ORM\Query\Exec\SingleSelectExecutor->__construct(Object(Doctrine\ORM\Query\AST\SelectStatement), Object(Doctrine\ORM\Query\SqlWalker)) #3 /home/excelim/erapido_excel/vendor/doctrine/orm/src/Query/Parser.php(398): Doctrine\ORM\Query\SqlWalker->getExecutor(Object(Doctrine\ORM\Query\AST\SelectStatement)) #4 /home/excelim/erapido_excel/vendor/doctrine/orm/src/Tools/Pagination/Paginator.php(258): Doctrine\ORM\Query\Parser->parse() #5 /home/excelim/erapido_excel/vendor/doctrine/orm/src/Tools/Pagination/Paginator.php(148): Doctrine\ORM\Tools\Pagination\Paginator->unbindUnusedQueryParams(Object(Doctrine\ORM\Query)) #6 /home/excelim/erapido_excel/application/layouts/kenlo/views/scripts/realestate-kenlo/index/search.phtml(49): Doctrine\ORM\Tools\Pagination\Paginator->getIterator() #7 /home/excelim/erapido_excel/library/Zend/View.php(157): include('/home/excelim/e...') #8 /home/excelim/erapido_excel/library/Zend/View/Abstract.php(887): Zend_View->_run('/home/excelim/e...') #9 /home/excelim/erapido_excel/library/Zend/Controller/Action/Helper/ViewRenderer.php(910): Zend_View_Abstract->render(NULL) #10 /home/excelim/erapido_excel/library/Zend/Controller/Action/Helper/ViewRenderer.php(931): Zend_Controller_Action_Helper_ViewRenderer->renderScript('realestate-kenl...', NULL) #11 /home/excelim/erapido_excel/library/Zend/Controller/Action.php(212): Zend_Controller_Action_Helper_ViewRenderer->render('realestate-kenl...', NULL, true) #12 /home/excelim/erapido_excel/application/modules/cms/controllers/actions/Theme.php(202): Zend_Controller_Action->render('realestate-kenl...', NULL, true) #13 /home/excelim/erapido_excel/application/modules/realestate-kenlo/controllers/IndexController.php(295): Cms_Controller_Action_Theme->cmsRender('search') #14 /home/excelim/erapido_excel/library/Zend/Controller/Action.php(516): RealestateKenlo_IndexController->searchAction() #15 /home/excelim/erapido_excel/library/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('searchAction') #16 /home/excelim/erapido_excel/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #17 /home/excelim/erapido_excel/library/Zend/Application/Bootstrap/Bootstrap.php(105): Zend_Controller_Front->dispatch() #18 /home/excelim/erapido_excel/library/Zend/Application.php(400): Zend_Application_Bootstrap_Bootstrap->run() #19 /home/excelim/public_html/index.php(51): Zend_Application->run() #20 {main}