Application Error

exception 'PDOException' with message '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 ')' at line 1' in /usr/home/libcp/library/Zend/Db/Statement/Pdo.php:228 Stack trace: #0 /usr/home/libcp/library/Zend/Db/Statement/Pdo.php(228): PDOStatement->execute(Array) #1 /usr/home/libcp/library/Zend/Db/Statement.php(300): Zend_Db_Statement_Pdo->_execute(Array) #2 /usr/home/libcp/library/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array) #3 /usr/home/libcp/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query(Object(Taedo_Db_Table_Select), Array) #4 /usr/home/libcp/library/Zend/Db/Select.php(686): Zend_Db_Adapter_Pdo_Abstract->query(Object(Taedo_Db_Table_Select)) #5 /usr/home/libcp/library/Taedo/Db/Table/Abstract.php(486): Zend_Db_Select->query() #6 /usr/home/iprovc/domains/iprov.com/application/controllers/NewsController.php(16): Taedo_Db_Table_Abstract->fetchCount(NULL, 'data desc') #7 /usr/home/libcp/library/Zend/Controller/Action.php(513): NewsController->indexAction() #8 /usr/home/libcp/library/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('indexAction') #9 /usr/home/libcp/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #10 /usr/home/iprovc/domains/iprov.com/public_html/index.php(96): Zend_Controller_Front->dispatch() #11 {main} Next exception 'Zend_Db_Statement_Exception' with message '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 ')' at line 1' in /usr/home/libcp/library/Zend/Db/Statement/Pdo.php:234 Stack trace: #0 /usr/home/libcp/library/Zend/Db/Statement.php(300): Zend_Db_Statement_Pdo->_execute(Array) #1 /usr/home/libcp/library/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array) #2 /usr/home/libcp/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query(Object(Taedo_Db_Table_Select), Array) #3 /usr/home/libcp/library/Zend/Db/Select.php(686): Zend_Db_Adapter_Pdo_Abstract->query(Object(Taedo_Db_Table_Select)) #4 /usr/home/libcp/library/Taedo/Db/Table/Abstract.php(486): Zend_Db_Select->query() #5 /usr/home/iprovc/domains/iprov.com/application/controllers/NewsController.php(16): Taedo_Db_Table_Abstract->fetchCount(NULL, 'data desc') #6 /usr/home/libcp/library/Zend/Controller/Action.php(513): NewsController->indexAction() #7 /usr/home/libcp/library/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('indexAction') #8 /usr/home/libcp/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #9 /usr/home/iprovc/domains/iprov.com/public_html/index.php(96): Zend_Controller_Front->dispatch() #10 {main}