CRUD Database Class Error: 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 '-5,5' at line 1
:: SELECT sections_articles.*, sections.*, articles.* FROM `sections_articles` JOIN `sections` ON sections_articles.section_id = sections.section_id JOIN `articles` ON sections_articles.article_id = articles.article_id JOIN `categories_articles` ON sections_articles.article_id = categories_articles.article_id WHERE type != 'none' AND type != 'static' AND type != 'custom' AND sections.section_id != 31 AND category_id = 21 AND publish = true ORDER BY articles.date desc LIMIT -5,5