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:195
Stack trace:
#0 /srv/vhost/cjmadrid.org/home/html/eventos/includes/eventos.class.php(195): mysqli_query()
#1 /srv/vhost/cjmadrid.org/home/html/eventos/includes/eventos.class.php(98): Evento->getAsociados()
#2 /srv/vhost/cjmadrid.org/home/html/eventos/includes/eventos.class.php(48): 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 195