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 ')' at line 1' in /home/bony/lib/Zend/Db/Statement/Pdo.php:238
Stack trace:
#0 /home/bony/lib/Zend/Db/Statement.php(283): Zend_Db_Statement_Pdo->_execute(Array)
#1 /home/bony/lib/Zend/Db/Adapter/Abstract.php(405): Zend_Db_Statement->execute(Array)
#2 /home/bony/lib/Zend/Db/Adapter/Pdo/Abstract.php(205): Zend_Db_Adapter_Abstract->query('SELECT MIN(valu...', Array)
#3 /home/bony/lib/Zend/Db/Adapter/Abstract.php(616): Zend_Db_Adapter_Pdo_Abstract->query('SELECT MIN(valu...', Array)
#4 /home/bony/application/Bony/VehiculeAttributeValue.php(127): Zend_Db_Adapter_Abstract->fetchAll('SELECT MIN(valu...')
#5 /home/bony/application/Bony/Front/Main.php(300): Bony_VehiculeAttributeValue->getValue(4, 'MIN', Array)
#6 /home/bony/application/Bony/Front/Main.php(177): Bony_Fr in /home/bony/lib/Zend/Db/Statement/Pdo.php on line 238