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-27' and content_type_id =2543 and magazine_id = '11' and ((title LIKE '%EFI%') or id IN (select content_id from content_taxonomy where ( taxonomy_id='12473' or taxonomy_id='12474' or taxonomy_id='12475' or taxonomy_id='15580' or taxonomy_id='15738' or taxonomy_id='15739' or taxonomy_id='17758' or taxonomy_id='17952' or taxonomy_id='18158' or taxonomy_id='18235' or taxonomy_id='18382' or taxonomy_id='18587' or taxonomy_id='19111' or taxonomy_id='19500' or taxonomy_id='21590' or taxonomy_id='21989' or taxonomy_id='22063' or taxonomy_id='22104' or taxonomy_id='22375' or taxonomy_id='22412' or taxonomy_id='24000' or taxonomy_id='26267' or taxonomy_id='26434' or taxonomy_id='26657' or taxonomy_id='26832' or taxonomy_id='27415' or taxonomy_id='27863' or taxonomy_id='27888' or taxonomy_id='28537' or taxonomy_id='29619' or taxonomy_id='30536' or taxonomy_id='30988' or taxonomy_id='31038' or taxonomy_id='31111' or taxonomy_id='32245' or taxonomy_id='32429' or taxonomy_id='33071' or taxonomy_id='33114' or taxonomy_id='33448' or taxonomy_id='33748' or taxonomy_id='34037' or taxonomy_id='34228' or taxonomy_id='36384' or taxonomy_id='36615' or taxonomy_id='36707' or taxonomy_id='36731' or taxonomy_id='38930' or taxonomy_id='39177' or taxonomy_id='39540' or taxonomy_id='39789' or taxonomy_id='40295' or taxonomy_id='41139' or taxonomy_id='41346' or taxonomy_id='42608' or taxonomy_id='42873' or taxonomy_id='43073' or taxonomy_id='43550' or taxonomy_id='45539' or taxonomy_id='45606' or taxonomy_id='46671' or taxonomy_id='47007' or taxonomy_id='47103' or taxonomy_id='47511' or taxonomy_id='47594' or taxonomy_id='47653' ) ) ) ORDER BY priority DESC, title asc LIMIT -10, 10