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-23' and content_type_id =2543 and magazine_id = '11' and ((title LIKE '%Latin America%') or id IN (select content_id from content_taxonomy where ( taxonomy_id='13074' or taxonomy_id='15393' or taxonomy_id='19772' or taxonomy_id='19840' or taxonomy_id='26220' or taxonomy_id='27865' or taxonomy_id='27994' or taxonomy_id='28090' or taxonomy_id='30214' or taxonomy_id='35305' or taxonomy_id='35348' or taxonomy_id='36495' or taxonomy_id='37527' or taxonomy_id='40824' or taxonomy_id='40828' or taxonomy_id='41641' or taxonomy_id='43040' or taxonomy_id='43043' or taxonomy_id='46182' or taxonomy_id='47389' ) ) ) ORDER BY priority DESC, title asc LIMIT -10, 10