Error!

MySQL 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 '-20, 20' at line 3
SQL Statement: SELECT contents.*,content_types.tag as content_type_tag,content_types.short_tag as content_type_short_tag, content_types.class_name as content_type_class_name, content_types.slug as content_type_slug, contents.primary_image as slider FROM contents JOIN content_types on contents.content_type_id = content_types.id WHERE content_type_id IN ('2487') and contents.published=1 and publish_date <= '2024-04-27 05:22' and contents.magazine_id=11 ORDER BY publish_date desc LIMIT -20, 20