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 'ORDER BY c1.minimo DESC, c1.preco DESC
LIMIT 0, 1' at line 5' in /home/httpd/vhosts/aprendicommeupai.com.br/httpdocs/library/Zend/Db/Statement/Pdo.php:228
Stack trace:
#0 /home/httpd/vhosts/aprendicommeupai.com.br/httpdocs/library/Zend/Db/Statement/Pdo.php(228): PDOStatement->execute(Array)
#1 /home/httpd/vhosts/aprendicommeupai.com.br/httpdocs/library/Zend/Db/Statement.php(300): Zend_Db_Statement_Pdo->_execute(Array)
#2 /home/httpd/vhosts/aprendicommeupai.com.br/httpdocs/library/Zend/Db/Adapter/Abstract.php(468): Zend_Db_Statement->execute(Array)
#3 /home/httpd/vhosts/aprendicommeupai.com.br/httpdocs/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT c1.* ???...', Array)
#4 /home/httpd/vhosts/aprendicommeupai.com.br/httpdocs/library in /home/httpd/vhosts/aprendicommeupai.com.br/httpdocs/library/Zend/Db/Statement/Pdo.php on line 234