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 /local/web_upct/new_web/includes/php7-mysql.php:86
Stack trace:
#0 /local/web_upct/new_web/includes/php7-mysql.php(86): mysqli_query()
#1 /local/web_upct/new_web/grupos/includes/cabecera_pagina_detalle.php(42): mysql_query()
#2 /local/web_upct/new_web/grupos/astromac/detalle.php(3): require('...')
#3 {main}
thrown in /local/web_upct/new_web/includes/php7-mysql.php on line 86