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 foto DESC LIMIT 0,25) UNION (SELECT codigo,estoque,codsite,nome,nomes' at line 1' in /var/www/vhosts/callfarma.com.br/httpdocs/src/SGBD.class.php:102 Stack trace: #0 /var/www/vhosts/callfarma.com.br/httpdocs/src/SGBD.class.php(102): PDOStatement->execute() #1 /var/www/vhosts/callfarma.com.br/httpdocs/index.php(91): Vcz\SGBD->busca('(SELECT codigo,...', Array) #2 {main} thrown in /var/www/vhosts/callfarma.com.br/httpdocs/src/SGBD.class.php on line 102