Fatal error: Uncaught Exception: <b>Camada :</b> Dados, <b>Classe : </b>Imagem/listar, <b>Linha</b> : 227<br />SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ORDER BY ordem DESC LIMIT 12' at line 1 in /home/golfinho/public_html/classes/dados/imagem.php:252
Stack trace:
#0 /home/golfinho/public_html/modules/pages/eventos.php(23): ImagemDados->listar('id_post=', 'ordem DESC LIMI...')
#1 /home/golfinho/public_html/index.php(52): include('/home/golfinho/...')
#2 {main}
thrown in /home/golfinho/public_html/classes/dados/imagem.php on line 252