Error in query: SELECT id from blog WHERE category = 3 AND published = 1 AND date < '2024-12-23 1:38:54' ORDER BY date DESC LIMIT -6, 6. 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 '-6, 6' at line 1