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-24' and content_type_id =2543 and magazine_id = '11' and ((title LIKE '%INX%') or id IN (select content_id from content_taxonomy where ( taxonomy_id='12605' or taxonomy_id='15501' or taxonomy_id='15502' or taxonomy_id='15503' or taxonomy_id='20312' or taxonomy_id='21960' or taxonomy_id='22162' or taxonomy_id='22429' or taxonomy_id='26980' or taxonomy_id='26987' or taxonomy_id='27070' or taxonomy_id='27071' or taxonomy_id='31168' or taxonomy_id='31977' or taxonomy_id='32611' or taxonomy_id='34718' or taxonomy_id='35244' or taxonomy_id='36650' or taxonomy_id='37444' or taxonomy_id='38703' or taxonomy_id='40446' or taxonomy_id='42221' or taxonomy_id='46996' or taxonomy_id='47051' ) ) ) ORDER BY priority DESC, title asc LIMIT -10, 10