Veranstaltungen 01/1/1970

Errore nella query:
SELECT id , titolo_de as titolo, anteprima_testo_de as testo, permalink_de as permalink
						FROM calendario
						WHERE data = 
						AND attivo = 'on'
						ORDER BY data ASC LIMIT 500

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 attivo = 'on' ORDER BY data ASC LIMIT 500' at line 4