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-25 16:00:00' and magazine_id = '9' and content_type_id != 2543 and publish_date <= '2024-04-25 16:00:00' and ((title LIKE '%form%') or id IN (select content_id from content_taxonomy where ( taxonomy_id='23337' or taxonomy_id='23461' or taxonomy_id='38043' or taxonomy_id='38087' or taxonomy_id='38124' or taxonomy_id='38125' or taxonomy_id='38126' or taxonomy_id='38150' or taxonomy_id='38161' or taxonomy_id='38162' or taxonomy_id='38163' or taxonomy_id='38168' or taxonomy_id='38177' or taxonomy_id='38180' or taxonomy_id='38192' or taxonomy_id='38245' or taxonomy_id='38248' or taxonomy_id='38254' or taxonomy_id='38340' or taxonomy_id='38430' or taxonomy_id='54716' or taxonomy_id='61171' or taxonomy_id='62215' or taxonomy_id='62372' or taxonomy_id='64927' or taxonomy_id='67931' or taxonomy_id='71680' or taxonomy_id='71766' ) ) ) ORDER BY publish_date desc LIMIT -50, 50