Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 1064 Você tem um erro de sintaxe no seu SQL próximo a 'order by data_cadastro desc, numero desc' na linha 1' in /home/camarajucati/www/preposicao-tramite.php:11 Stack trace: #0 /home/camarajucati/www/preposicao-tramite.php(11): PDOStatement->execute() #1 {main} thrown in /home/camarajucati/www/preposicao-tramite.php on line 11