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-11-26' and content_type_id =2543 and magazine_id = '11' and ((title LIKE '%North America%') or id IN (select content_id from content_taxonomy where ( taxonomy_id='12311' or taxonomy_id='12417' or taxonomy_id='12504' or taxonomy_id='12841' or taxonomy_id='13073' or taxonomy_id='27464' or taxonomy_id='27521' or taxonomy_id='27576' or taxonomy_id='27621' or taxonomy_id='27698' or taxonomy_id='29167' or taxonomy_id='30248' or taxonomy_id='33022' or taxonomy_id='33530' or taxonomy_id='35231' or taxonomy_id='35824' or taxonomy_id='36553' or taxonomy_id='36575' or taxonomy_id='37096' or taxonomy_id='41159' or taxonomy_id='41718' or taxonomy_id='41835' or taxonomy_id='46642' or taxonomy_id='47079' ) ) ) ORDER BY priority DESC, title asc LIMIT -10, 10