Warning: Undefined array key "id" in /var/www/reyestienda/html/facturas/compra/pdf.php on line 18
Fatal error: Uncaught mysqli_sql_exception: 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 '' at line 1 in /var/www/reyestienda/html/facturas/compra/Compra.php:45
Stack trace:
#0 /var/www/reyestienda/html/facturas/compra/Compra.php(45): mysqli_query()
#1 /var/www/reyestienda/html/facturas/compra/pdf.php(18): Compra::get()
#2 {main}
thrown in /var/www/reyestienda/html/facturas/compra/Compra.php on line 45