MySQL Error!
MySQL error in file: /engine/cache/system/plugins/4dd7ae6ec9b885c55f527f9455f0ec42.php at line 1649
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 ( LEFT JOIN dle_p' at line 1
SQL query:

SELECT, p.autor,, 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 ('18')) c ON ( {downloads_join} LEFT JOIN dle_post_extras e ON ( LEFT JOIN dle_post_fields pf ON ( WHERE id NOT IN ('10112') AND approve=1 ORDER BY news_read DESC LIMIT 0,12