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 /var/www/html/admin/inc/functions.php:28
Stack trace:
#0 /var/www/html/admin/inc/functions.php(28): mysqli_query()
#1 /var/www/html/subastaactual.php(34): ejecutarConsulta()
#2 {main}
thrown in /var/www/html/admin/inc/functions.php on line 28