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/cesay/public_html/panel/clases/conexion.php:45
Stack trace:
#0 /home/cesay/public_html/panel/clases/conexion.php(45): mysqli_query(Object(mysqli), 'select idcontac...')
#1 /home/cesay/public_html/panel/clases/contacto.php(36): conexion->ejecutar_sentencia('select idcontac...')
#2 /home/cesay/public_html/contacto.php(4): contacto->obtener_contacto()
#3 {main}
thrown in /home/cesay/public_html/panel/clases/conexion.php on line 45