Outros Serviços

    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 ID' at line 1' in /home/diocesedebarreto/public_html/classes/Objeto.class.php:377 Stack trace: #0 /home/diocesedebarreto/public_html/classes/Objeto.class.php(377): PDOStatement->execute() #1 /home/diocesedebarreto/public_html/paginas/servicos.php(18): Objeto->retornarTodos(NULL, 'ORDER BY ID', 'ID != ') #2 /home/diocesedebarreto/public_html/index.php(781): require_once('/home/diocesede...') #3 {main} thrown in /home/diocesedebarreto/public_html/classes/Objeto.class.php on line 377