Warning: Undefined array key "id" in /home/systemdecorcom/public_html/sg/view/nota_fiscal/impressaoDanfeConferencia.php on line 21

Fatal error: Uncaught mysqli_sql_exception: 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 '' at line 1 in /home/systemdecorcom/public_html/sg/model/MySQL.php:38 Stack trace: #0 /home/systemdecorcom/public_html/sg/model/MySQL.php(38): mysqli_query(Object(mysqli), 'SELECT id, YEAR...') #1 /home/systemdecorcom/public_html/sg/view/nota_fiscal/impressaoDanfeConferencia.php(22): MySQL->query('SELECT id, YEAR...') #2 {main} thrown in /home/systemdecorcom/public_html/sg/model/MySQL.php on line 38