MySQL Error!
MySQL error in file: /engine/cache/system/plugins/4dd7ae6ec9b885c55f527f9455f0ec42.php at line 1646
Error Number: 1064
The Error returned was:
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 '{downloads_join}LEFT JOIN dle_post_extras e ON (p.id=e.news_id) LEFT JOIN dle_po' at line 1
SQL query:

SELECT p.id, p.autor, p.date, p.short_story, CHAR_LENGTH(p.full_story) as full_story, p.xfields, p.title, p.title_ru, p.category, p.alt_name, p.comm_num, p.allow_comm, p.fixed, p.tags, e.news_read, e.allow_rate, e.rating, e.vote_num, e.votes, e.view_edit, e.editdate, e.editor, e.reason, e.ratecount1, e.ratecount2, e.ratecount3, e.ratecount4, e.ratecount5, pf.* FROM dle_post p INNER JOIN (SELECT DISTINCT(dle_post_extras_cats.news_id) FROM dle_post_extras_cats WHERE cat_id IN ('22')) c ON (p.id=c.news_id) {downloads_join}LEFT JOIN dle_post_extras e ON (p.id=e.news_id) LEFT JOIN dle_post_fields pf ON (p.id=pf.news_id) WHERE id NOT IN ('3364') AND approve=1 ORDER BY news_read DESC LIMIT 0,12