The following error occurred:

	
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 ') GROUP BY `cat_id` LIMIT 1' at line 1' in /home/thediscd/library/Zend/Db/Statement/Pdo.php:238
Stack trace:
#0 /home/thediscd/library/Zend/Db/Statement.php(283): Zend_Db_Statement_Pdo->_execute(Array)
#1 /home/thediscd/library/Zend/Db/Adapter/Abstract.php(433): Zend_Db_Statement->execute(Array)
#2 /home/thediscd/library/Zend/Db/Adapter/Pdo/Abstract.php(230): Zend_Db_Adapter_Abstract->query(Object(Zend_Db_Table_Select), Array)
#3 /home/thediscd/library/Zend/Db/Table/Abstract.php(1330): Zend_Db_Adapter_Pdo_Abstract->query(Object(Zend_Db_Table_Select))
#4 /home/thediscd/library/Zend/Db/Table/Abstract.php(1200): Zend_Db_Table_Abstract->_fetch(Object(Zend_Db_Table_Select))
#5 /home/thediscd/application/default/models/Companies.php(266): Zend_Db_Table_Abstract->fetchRow(Object(Zend_Db_Table_Select))
#6 /home/thediscd/application/default/controllers/CompaniesController.php(558): Companies->getQuestionSetMapping(NULL)
#7 /home/thediscd/library/Zend/Controller/Action.php(503): CompaniesController->companydetailAction()
#8 /home/thediscd/library/Zend/Controller/Dispatcher/Standard.php(285): Zend_Controller_Action->dispatch('companydetailAc...')
#9 /home/thediscd/library/Zend/Controller/Front.php(934): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#10 /home/thediscd/application/bootstrap.php(92): Zend_Controller_Front->dispatch()
#11 /home/thediscd/public_html/index.php(15): require('/home/thediscd/...')
#12 {main}