Invalid query:
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 ck_open = 1 AND posti_disponibili > 0 ORDER BY no_orario DESC, data_inizio, ' at line 2

Whole query:
SELECT calendario.*,text.descrizione FROM woice_BKR_calendario as calendario LEFT JOIN woice_BKR_calendario_ML as text ON calendario.id = text.id_calendario WHERE text.lang =1 AND id_woice_evento = AND ck_open = 1 AND posti_disponibili > 0 ORDER BY no_orario DESC, data_inizio, ora_inizio, data_fine, ora_fine ;