Fatal error: Uncaught 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 'AND question_id=1' at line 7' in /var/www/skiminabox/library/Zend/Db/Adapter/Abstract.php:157 Stack trace: #0 /var/www/skiminabox/library/Zend/Db/Adapter/Abstract.php(157): PDOStatement->execute(Array) #1 /var/www/skiminabox/library/Zend/Db/Adapter/Abstract.php(397): Zend_Db_Adapter_Abstract->query(Object(Zend_Db_Select), NULL) #2 /var/www/skiminabox/models/UserAnswers.php(48): Zend_Db_Adapter_Abstract->fetchRow(Object(Zend_Db_Select)) #3 /var/www/skiminabox/controllers/UserController.php(67): UserAnswers->getSmoothAnswers(NULL, '54', 0) #4 /var/www/skiminabox/library/Zend/Controller/Dispatcher.php(542): UserController->indexAction() #5 /var/www/skiminabox/library/Zend/Controller/Front.php(715): Zend_Controller_Dispatcher->dispatch(Object(Zend_Controller_Request_Http), Objec in /var/www/skiminabox/library/Zend/Db/Adapter/Abstract.php on line 157