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 'AND habilitar = 1' at line 1 in /srv/vhost/cjmadrid.org/home/html/eventos/includes/eventos.class.php:193
Stack trace:
#0 /srv/vhost/cjmadrid.org/home/html/eventos/includes/eventos.class.php(193): mysqli_query()
#1 /srv/vhost/cjmadrid.org/home/html/eventos/includes/eventos.class.php(95): Evento->getAsociados()
#2 /srv/vhost/cjmadrid.org/home/html/eventos/includes/eventos.class.php(47): Evento->getEvento()
#3 /srv/vhost/cjmadrid.org/home/html/eventos/index.php(15): Evento->__construct()
#4 {main}
thrown in /srv/vhost/cjmadrid.org/home/html/eventos/includes/eventos.class.php on line 193