The following error occurred:

SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') LIMIT 1' at line 1
#0 /home/badrsun/library/Zend/Db/Statement.php(283): Zend_Db_Statement_Pdo->_execute(Array)
#1 /home/badrsun/library/Zend/Db/Adapter/Abstract.php(464): Zend_Db_Statement->execute(Array)
#2 /home/badrsun/library/Zend/Db/Adapter/Pdo/Abstract.php(232): Zend_Db_Adapter_Abstract->query(Object(Zend_Db_Table_Select), Array)
#3 /home/badrsun/library/Zend/Db/Table/Abstract.php(1393): Zend_Db_Adapter_Pdo_Abstract->query(Object(Zend_Db_Table_Select))
#4 /home/badrsun/library/Zend/Db/Table/Abstract.php(1257): Zend_Db_Table_Abstract->_fetch(Object(Zend_Db_Table_Select))
#5 /home/badrsun/library/DPCO/Db/Table.php(98): Zend_Db_Table_Abstract->fetchRow(Object(Zend_Db_Table_Select))
#6 /home/badrsun/application/default/controllers/HonorController.php(46): DPCO_Db_Table->fetchRow('xid = ')
#7 /home/badrsun/library/Zend/Controller/Action.php(511): HonorController->viewAction()
#8 /home/badrsun/library/Zend/Controller/Dispatcher/Standard.php(288): Zend_Controller_Action->dispatch('viewAction')
#9 /home/badrsun/library/Zend/Controller/Front.php(945): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#10 /home/badrsun/application/bootstrap.php(206): Zend_Controller_Front->dispatch()
#11 /home/badrsun/public_html/index.php(7): Bootstrap->runApp()
#12 {main}