24.04.24 |
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 ordem, id' at line 1' in /home/storage/e/10/35/primaroftalmologia/public_html/admsite/_include/classes/galeria_foto/Galeria.class.php:48
Stack trace:
#0 /home/storage/e/10/35/primaroftalmologia/public_html/admsite/_include/classes/galeria_foto/Galeria.class.php(48): PDO->query(' SELECT * FROM ...')
#1 /home/storage/e/10/35/primaroftalmologia/public_html/noticia_ler.php(231): GaleriaFoto->getLista()
#2 /home/storage/e/10/35/primaroftalmologia/public_html/noticia_ler.php(151): mostraGaleriaFotos(Object(Noticia), 1, 0)
#3 {main}
thrown in
/home/storage/e/10/35/primaroftalmologia/public_html/admsite/_include/classes/galeria_foto/Galeria.class.php on line
48