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 contents.publish_date <= '2018-04-23 14:00:00' and content_type_id =2543 and magazine_id = '11' and ((title LIKE '%Paper%') or id IN (select content_id from content_taxonomy where ( taxonomy_id='12104' or taxonomy_id='12108' or taxonomy_id='13044' or taxonomy_id='15415' or taxonomy_id='48980' or taxonomy_id='49532' or taxonomy_id='50067' or taxonomy_id='50084' or taxonomy_id='50087' or taxonomy_id='50111' or taxonomy_id='50291' or taxonomy_id='50397' or taxonomy_id='51778' or taxonomy_id='51804' or taxonomy_id='52144' or taxonomy_id='52600' or taxonomy_id='52648' or taxonomy_id='54411' or taxonomy_id='56554' or taxonomy_id='58158' or taxonomy_id='59355' or taxonomy_id='61773' or taxonomy_id='61804' or taxonomy_id='61939' or taxonomy_id='62146' or taxonomy_id='63405' or taxonomy_id='64251' or taxonomy_id='65311' or taxonomy_id='65840' or taxonomy_id='66162' or taxonomy_id='66208' or taxonomy_id='66234' ) ) ) ORDER BY priority DESC, title asc LIMIT -10, 10