an unexpected error occured.

Unexpected Exception: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '%') AND LOWER(merk) LIKE LOWER('%Kia%')) AND (occasion_id != 1048) ORDER BY `ver' at line 1


#0 /home/meeuwisz/public_html/mvc/libraries/Zend/Db/Statement.php(300): Zend_Db_Statement_Pdo->_execute(Array)
#1 /home/meeuwisz/public_html/mvc/libraries/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)
#2 /home/meeuwisz/public_html/mvc/libraries/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query(Object(Zend_Db_Table_Select), Array)
#3 /home/meeuwisz/public_html/mvc/libraries/Zend/Db/Table/Abstract.php(1529): Zend_Db_Adapter_Pdo_Abstract->query(Object(Zend_Db_Table_Select))
#4 /home/meeuwisz/public_html/mvc/libraries/Zend/Db/Table/Abstract.php(1344): Zend_Db_Table_Abstract->_fetch(Object(Zend_Db_Table_Select))
#5 /home/meeuwisz/public_html/mvc/application/modules/custom/models/DbTables/CustomOccasions.php(38): Zend_Db_Table_Abstract->fetchAll(Object(Zend_Db_Table_Select))
#6 /home/meeuwisz/public_html/mvc/application/modules/front/controllers/OccasionsController.php(277): Model_DbTables_CustomOccasions->getAllRecords(Array, Array, '', Array, 4)
#7 /home/meeuwisz/public_html/mvc/libraries/Zend/Controller/Action.php(516): OccasionsController->viewAction()
#8 /home/meeuwisz/public_html/mvc/libraries/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('viewAction')
#9 /home/meeuwisz/public_html/mvc/libraries/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#10 /home/meeuwisz/public_html/index.php(171): Zend_Controller_Front->dispatch()
#11 {main}