Error: SELECT * FROM ysn_noticia, ysn_noticia_idioma WHERE ysn_noticia.id = ysn_noticia_idioma.id_noticia AND ysn_noticia_idioma.id_idioma = 2 AND ysn_noticia.active = 1 AND ysn_noticia.id = LIMIT 1

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 'LIMIT 1' at line 6