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 'DESC LIMIT 0,12' at line 21 SQL=SELECT content.id AS id FROM vgqbe_k2_items AS content WHERE content.published = 1 AND content.trash = 0 AND content.access IN (1,1) AND ( content.publish_up = '0000-00-00 00:00:00' OR content.publish_up <= '2015-05-11 21:36:25' ) AND ( content.publish_down = '0000-00-00 00:00:00' OR content.publish_down >= '2015-05-11 21:36:25' ) AND ( content.catid = 43 ) AND content.language in ('ru-RU','*') ORDER BY content. DESC LIMIT 0,12;
please help