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 contents.publish_date <= '2018-04-25 20:00:00' and content_type_id =2543 and magazine_id = '10' and ((title LIKE '%waxes%') or id IN (select content_id from content_taxonomy where ( taxonomy_id='22929' or taxonomy_id='22930' or taxonomy_id='22938' or taxonomy_id='22939' or taxonomy_id='22941' or taxonomy_id='22942' or taxonomy_id='22943' or taxonomy_id='22944' or taxonomy_id='22945' or taxonomy_id='22946' or taxonomy_id='22947' or taxonomy_id='22948' or taxonomy_id='22949' or taxonomy_id='23728' or taxonomy_id='23805' or taxonomy_id='34010' or taxonomy_id='34864' ) ) ) ORDER BY priority DESC, title asc LIMIT -10, 10