A Database Error Occurred

Error Number: 1064

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 'AND re.id_helburu = t.id AND r.modelo_jatorri_id = 20 AND r.modelo_helbu' at line 6

SELECT * FROM txt t, txt_locale tl, rol_erlazioa re, rol r WHERE t.id = tl.txt_id AND re.rol_id = r.izena AND re.id_jatorri = AND re.id_helburu = t.id AND r.modelo_jatorri_id = 20 AND r.modelo_helburu_id = 11

Filename: models/Txt_modeloa.php

Line Number: 342