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 /home/serverweb/web/pieceauto-discount.com/public_html/includes/funciones.php:20
Stack trace:
#0 /home/serverweb/web/pieceauto-discount.com/public_html/includes/funciones.php(20): mysqli_query()
#1 /home/serverweb/web/pieceauto-discount.com/public_html/includes/redirecciones.php(1479): conectar_bd()
#2 /home/serverweb/web/pieceauto-discount.com/public_html/includes/head.php(133): include_once('...')
#3 /home/serverweb/web/pieceauto-discount.com/public_html/catalogue.php(3): include('...')
#4 {main}
thrown in /home/serverweb/web/pieceauto-discount.com/public_html/includes/funciones.php on line 20