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 '' at line 7
SELECT t.id_prensa, tl.nombre_prensa_translation, tl.url_prensa_translation, tl.nota_prensa_translation, tl.descripcion_prensa_translation, tl.embed_prensa_translation, tl.carpeta_prensa_translation, t.fecha_prensa FROM `prensa` t INNER JOIN prensa_translation tl ON tl.id_prensa = t.id_prensa INNER JOIN lang l ON l.lang = tl.lang WHERE t.id_empresa=4 AND NOT t.estado = 'S' AND l.lang = 'en' ORDER BY t.`fecha_prensa` DESC LIMIT 0,