DATABASE ERROR:
SELECT i.id,i.title,i.description,i.content,i.seolink,c.title as cat,c.seolink as cat_seolink,MATCH(i.content) AGAINST('Триумф картин испанского художника Жоана Миро на лондонском аукционе Christie's') AS rel FROM cms_content i INNER JOIN cms_category c ON c.id=i.category_id WHERE MATCH(i.content) AGAINST('Триумф картин испанского художника Жоана Миро на лондонском аукционе Christie's' IN BOOLEAN MODE) AND i.id NOT IN(40, 2225, 2224) AND i.published=1 AND i.is_arhive=0 AND i.pubdate<='2023-06-02 00:01:56' AND i.is_end=0 OR (i.is_end=1 AND i.enddate>='2023-06-02') ORDER BY rel DESC LIMIT 4
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 's') AS rel FROM cms_content i INNER JOIN cms_category c ON c.id=i.category_id WH' at line 1