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-10-31' and content_type_id =2543 and magazine_id = '11' and ((title LIKE '%Label printer%') or id IN (select content_id from content_taxonomy where ( taxonomy_id='15385' or taxonomy_id='17757' or taxonomy_id='18226' or taxonomy_id='18817' or taxonomy_id='19697' or taxonomy_id='22207' or taxonomy_id='23962' or taxonomy_id='25162' or taxonomy_id='25183' or taxonomy_id='26434' or taxonomy_id='26506' or taxonomy_id='28583' or taxonomy_id='29037' or taxonomy_id='29447' or taxonomy_id='31372' or taxonomy_id='32702' or taxonomy_id='32762' or taxonomy_id='33492' or taxonomy_id='34039' or taxonomy_id='34675' or taxonomy_id='36154' or taxonomy_id='36799' or taxonomy_id='38913' or taxonomy_id='39607' or taxonomy_id='41394' or taxonomy_id='41684' or taxonomy_id='43357' or taxonomy_id='43736' or taxonomy_id='44440' or taxonomy_id='44830' or taxonomy_id='45554' or taxonomy_id='45628' or taxonomy_id='46134' or taxonomy_id='46209' ) ) ) ORDER BY priority DESC, title asc LIMIT -10, 10