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-23 02:00:00' and magazine_id = '9' and content_type_id != 2543 and publish_date <= '2024-04-23 02:00:00' and ((title LIKE '%skin%') or id IN (select content_id from content_taxonomy where ( taxonomy_id='15964' or taxonomy_id='16296' or taxonomy_id='20585' or taxonomy_id='23282' or taxonomy_id='23296' or taxonomy_id='23297' or taxonomy_id='23300' or taxonomy_id='23303' or taxonomy_id='23498' or taxonomy_id='23508' or taxonomy_id='23509' or taxonomy_id='23517' or taxonomy_id='23526' or taxonomy_id='23532' or taxonomy_id='23554' or taxonomy_id='23645' or taxonomy_id='38107' or taxonomy_id='38135' or taxonomy_id='38160' or taxonomy_id='38233' or taxonomy_id='38264' or taxonomy_id='38314' or taxonomy_id='38381' or taxonomy_id='38437' or taxonomy_id='38438' or taxonomy_id='38439' or taxonomy_id='54709' or taxonomy_id='56041' or taxonomy_id='56159' or taxonomy_id='56162' or taxonomy_id='56524' or taxonomy_id='56916' or taxonomy_id='57935' or taxonomy_id='58026' or taxonomy_id='58373' or taxonomy_id='59929' or taxonomy_id='61095' or taxonomy_id='61383' or taxonomy_id='61387' or taxonomy_id='61388' or taxonomy_id='62378' or taxonomy_id='62771' or taxonomy_id='63531' or taxonomy_id='63536' or taxonomy_id='63780' or taxonomy_id='63783' or taxonomy_id='64410' or taxonomy_id='71570' ) ) ) ORDER BY publish_date desc LIMIT -50, 50