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 '%Paper%') or id IN (select content_id from content_taxonomy where ( taxonomy_id='12104' or taxonomy_id='12108' or taxonomy_id='12355' or taxonomy_id='12374' or taxonomy_id='12560' or taxonomy_id='12571' or taxonomy_id='12624' or taxonomy_id='12676' or taxonomy_id='12690' or taxonomy_id='12717' or taxonomy_id='12721' or taxonomy_id='12745' or taxonomy_id='12746' or taxonomy_id='12910' or taxonomy_id='12928' or taxonomy_id='12957' or taxonomy_id='13044' or taxonomy_id='15415' or taxonomy_id='15495' or taxonomy_id='15558' or taxonomy_id='15725' or taxonomy_id='15769' or taxonomy_id='15788' or taxonomy_id='15801' or taxonomy_id='15839' or taxonomy_id='15864' or taxonomy_id='15871' or taxonomy_id='18572' or taxonomy_id='18953' or taxonomy_id='19302' or taxonomy_id='20510' or taxonomy_id='21720' or taxonomy_id='22254' or taxonomy_id='25184' or taxonomy_id='26552' or taxonomy_id='26930' or taxonomy_id='27033' or taxonomy_id='27248' or taxonomy_id='27310' or taxonomy_id='27311' or taxonomy_id='27318' or taxonomy_id='27467' or taxonomy_id='27818' or taxonomy_id='28004' or taxonomy_id='29179' or taxonomy_id='29269' or taxonomy_id='29282' or taxonomy_id='31349' or taxonomy_id='32068' or taxonomy_id='33346' or taxonomy_id='34234' or taxonomy_id='34944' or taxonomy_id='37033' or taxonomy_id='37034' or taxonomy_id='37402' or taxonomy_id='37403' or taxonomy_id='38548' or taxonomy_id='38728' or taxonomy_id='38993' or taxonomy_id='40037' or taxonomy_id='40137' or taxonomy_id='40138' or taxonomy_id='40605' or taxonomy_id='41604' or taxonomy_id='41854' or taxonomy_id='42748' or taxonomy_id='43352' or taxonomy_id='43365' or taxonomy_id='44818' or taxonomy_id='45236' or taxonomy_id='45240' or taxonomy_id='46073' or taxonomy_id='46135' or taxonomy_id='47116' or taxonomy_id='47229' or taxonomy_id='47543' or taxonomy_id='47549' or taxonomy_id='47626' ) ) ) ORDER BY priority DESC, title asc LIMIT -10, 10