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) <= '2014-09-21' and content_type_id =2543 and magazine_id = '10' and ((title LIKE '%Resins%') or id IN (select content_id from content_taxonomy where ( taxonomy_id='22721' or taxonomy_id='22817' or taxonomy_id='22818' or taxonomy_id='22819' or taxonomy_id='22820' or taxonomy_id='22821' or taxonomy_id='22822' or taxonomy_id='22823' or taxonomy_id='22824' or taxonomy_id='22836' or taxonomy_id='22837' or taxonomy_id='22838' or taxonomy_id='22839' or taxonomy_id='22840' or taxonomy_id='22841' or taxonomy_id='22842' or taxonomy_id='22843' or taxonomy_id='22844' or taxonomy_id='22845' or taxonomy_id='22846' or taxonomy_id='22847' or taxonomy_id='22848' or taxonomy_id='22849' or taxonomy_id='22850' or taxonomy_id='22851' or taxonomy_id='22852' or taxonomy_id='22853' or taxonomy_id='22854' or taxonomy_id='22855' or taxonomy_id='22856' or taxonomy_id='22857' or taxonomy_id='22858' or taxonomy_id='22859' or taxonomy_id='22950' or taxonomy_id='22962' or taxonomy_id='22963' or taxonomy_id='22964' or taxonomy_id='22965' or taxonomy_id='22966' or taxonomy_id='22967' or taxonomy_id='22968' or taxonomy_id='22969' or taxonomy_id='22970' or taxonomy_id='23726' or taxonomy_id='23803' or taxonomy_id='33689' or taxonomy_id='34860' or taxonomy_id='45439' ) ) ) ORDER BY priority DESC, title asc LIMIT -10, 10