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 '-50, 50' at line 1
SQL Statement: SELECT * FROM contents WHERE contents.published='1' and contents.publish_date <= '2024-04-19 01:00:00' and magazine_id = '10' and content_type_id != 2543 and publish_date <= '2024-04-19 01:00:00' and ((title LIKE '%Waxes%') or id IN (select content_id from content_taxonomy where ( taxonomy_id='22929' or taxonomy_id='22930' or taxonomy_id='22938' or taxonomy_id='22939' or taxonomy_id='22941' or taxonomy_id='22942' or taxonomy_id='22943' or taxonomy_id='22944' or taxonomy_id='22945' or taxonomy_id='22946' or taxonomy_id='22947' or taxonomy_id='22948' or taxonomy_id='22949' or taxonomy_id='23728' or taxonomy_id='23805' or taxonomy_id='34010' or taxonomy_id='34864' ) ) ) ORDER BY publish_date desc LIMIT -50, 50