Fatal error: Uncaught 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 ')) AND (voting_id = '9') ORDER BY `variant` ASC' at line 1' in /home/u32697/bank-corru/www/library/Zend/Db/Statement/Pdo.php:238 Stack trace: #0 /home/u32697/bank-corru/www/library/Zend/Db/Statement.php(283): Zend_Db_Statement_Pdo->_execute(Array) #1 /home/u32697/bank-corru/www/library/Zend/Db/Adapter/Abstract.php(405): Zend_Db_Statement->execute(Array) #2 /home/u32697/bank-corru/www/library/Zend/Db/Adapter/Pdo/Abstract.php(205): Zend_Db_Adapter_Abstract->query(Object(Zend_Db_Select), Array) #3 /home/u32697/bank-corru/www/library/Zend/Db/Select.php(569): Zend_Db_Adapter_Pdo_Abstract->query(Object(Zend_Db_Select)) #4 /home/u32697/bank-corru/www/application/default/controllers/VotingController.php(34): Zend_Db_Select->query() #5 /home/u32697/bank-corru/www/appli in /home/u32697/bank-corru/www/library/Zend/Db/Statement/Pdo.php on line 238