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 '-10, 10' at line 1
SQL Statement: SELECT * FROM contents WHERE contents.published='1' and date(contents.publish_date) <= '2015-03-27' and content_type_id =2543 and magazine_id = '9' and ((title LIKE '%gel%') or id IN (select content_id from content_taxonomy where ( taxonomy_id='15944' or taxonomy_id='15951' or taxonomy_id='15961' or taxonomy_id='15973' or taxonomy_id='16009' or taxonomy_id='16017' or taxonomy_id='16031' or taxonomy_id='16038' or taxonomy_id='16052' or taxonomy_id='16075' or taxonomy_id='16086' or taxonomy_id='16094' or taxonomy_id='16122' or taxonomy_id='16163' or taxonomy_id='16166' or taxonomy_id='16196' or taxonomy_id='16219' or taxonomy_id='16227' or taxonomy_id='16232' or taxonomy_id='16236' or taxonomy_id='16242' or taxonomy_id='16245' or taxonomy_id='16248' or taxonomy_id='16260' or taxonomy_id='16271' or taxonomy_id='16282' or taxonomy_id='16303' or taxonomy_id='16312' or taxonomy_id='16335' or taxonomy_id='23485' or taxonomy_id='37922' or taxonomy_id='38137' or taxonomy_id='38400' or taxonomy_id='38436' or taxonomy_id='38467' ) ) ) ORDER BY priority DESC, title asc LIMIT -10, 10