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 date desc' at line 1' in /home/benckesirangelo/www/admsite/_include/classes/galeria_arquivo/Galeria.class.php:47 Stack trace: #0 /home/benckesirangelo/www/admsite/_include/classes/galeria_arquivo/Galeria.class.php(47): PDO->query(' SELECT * FROM ...') #1 /home/benckesirangelo/www/noticia_ler.php(298): GaleriaArquivo->getLista() #2 /home/benckesirangelo/www/noticia_ler.php(180): mostraNoticia(Object(Noticia), '', false, '') #3 {main} thrown in /home/benckesirangelo/www/admsite/_include/classes/galeria_arquivo/Galeria.class.php on line 47