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-06-22 13:00:00' and content_type_id =2543 and magazine_id = '10' and ((title LIKE '%pigments%') or id IN (select content_id from content_taxonomy where ( taxonomy_id='22860' or taxonomy_id='22861' or taxonomy_id='22862' or taxonomy_id='22863' or taxonomy_id='22864' or taxonomy_id='22865' or taxonomy_id='22866' or taxonomy_id='22867' or taxonomy_id='22868' or taxonomy_id='22869' or taxonomy_id='22870' or taxonomy_id='22871' or taxonomy_id='22872' or taxonomy_id='22873' or taxonomy_id='22874' or taxonomy_id='22875' or taxonomy_id='22876' or taxonomy_id='22877' or taxonomy_id='22878' or taxonomy_id='22879' or taxonomy_id='22880' or taxonomy_id='22881' or taxonomy_id='22882' or taxonomy_id='22883' or taxonomy_id='22884' or taxonomy_id='22885' or taxonomy_id='22886' or taxonomy_id='22887' or taxonomy_id='22893' or taxonomy_id='22894' or taxonomy_id='22895' or taxonomy_id='22896' or taxonomy_id='22897' or taxonomy_id='22898' or taxonomy_id='22899' or taxonomy_id='22900' or taxonomy_id='22901' or taxonomy_id='22902' or taxonomy_id='22903' or taxonomy_id='23049' or taxonomy_id='23111' or taxonomy_id='23112' or taxonomy_id='23113' or taxonomy_id='23114' or taxonomy_id='23115' or taxonomy_id='23116' or taxonomy_id='23117' or taxonomy_id='23129' or taxonomy_id='23724' or taxonomy_id='23725' or taxonomy_id='23801' or taxonomy_id='34011' or taxonomy_id='34012' or taxonomy_id='34013' or taxonomy_id='34016' or taxonomy_id='34018' or taxonomy_id='34019' or taxonomy_id='34020' or taxonomy_id='34021' or taxonomy_id='34022' or taxonomy_id='34024' or taxonomy_id='34025' or taxonomy_id='34026' or taxonomy_id='34027' or taxonomy_id='34028' or taxonomy_id='34858' or taxonomy_id='45441' or taxonomy_id='53851' or taxonomy_id='53852' or taxonomy_id='53853' or taxonomy_id='53854' or taxonomy_id='59489' or taxonomy_id='61656' ) ) ) ORDER BY priority DESC, title asc LIMIT -10, 10