Warning: PDO::query(): SQLSTATE[42000]: Syntax error or access violation: 1065 Query was empty in /home/buritirama/public_html/files/inc/relatorio/pdf/carta_servico.php on line 12

Fatal error: Uncaught Error: Call to a member function fetchAll() on bool in /home/buritirama/public_html/files/inc/relatorio/pdf/carta_servico.php:13 Stack trace: #0 /home/buritirama/public_html/files/inc/relatorio/exportar_v2.php(32): include_once() #1 /home/buritirama/public_html/relatorio.php(15): include_once('/home/buritiram...') #2 {main} thrown in /home/buritirama/public_html/files/inc/relatorio/pdf/carta_servico.php on line 13