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 MariaDB server version for the right syntax to use near 'ORDER BY sequencia' at line 1' in /home2/cvchadealegria/portal.camarachadealegria.pe.gov.br/publicacao.php:19
Stack trace:
#0 /home2/cvchadealegria/portal.camarachadealegria.pe.gov.br/publicacao.php(19): PDO->query('SELECT id as pu...')
#1 /home2/cvchadealegria/portal.camarachadealegria.pe.gov.br/publicacao.php(318): carregarFotos(NULL)
#2 {main}
thrown in /home2/cvchadealegria/portal.camarachadealegria.pe.gov.br/publicacao.php on line 19