A Database Error Occurred

Error Number: 1064

You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' Maya', tags) OR FIND_IN_SET(' K'iche' Maya', tags) OR FIND_IN_SET('K'iche' May' at line 1

SELECT count(*) As total FROM items WHERE name != '' AND FIND_IN_SET('0', sites) AND publish = '1' AND (FIND_IN_SET('K'iche' Maya', tags) OR FIND_IN_SET(' K'iche' Maya', tags) OR FIND_IN_SET('K'iche' Maya ', tags) OR tags LIKE '%K'iche' Maya, %' OR FIND_IN_SET('K'iche' Maya', class_tags) OR FIND_IN_SET(' K'iche' Maya', class_tags) OR FIND_IN_SET('K'iche' Maya ', class_tags) OR class_tags LIKE '%K'iche' Maya, %' OR FIND_IN_SET('K'iche' Maya', school_tags) OR FIND_IN_SET(' K'iche' Maya', school_tags) OR FIND_IN_SET('K'iche' Maya ', school_tags) OR school_tags LIKE '%K'iche' Maya, %' OR FIND_IN_SET('K'iche' Maya', dept_tags) OR FIND_IN_SET(' K'iche' Maya', dept_tags) OR FIND_IN_SET('K'iche' Maya ', dept_tags) OR dept_tags LIKE '%K'iche' Maya, %' OR FIND_IN_SET('K'iche' Maya', discipline_tags) OR FIND_IN_SET(' K'iche' Maya', discipline_tags) OR FIND_IN_SET('K'iche' Maya ', discipline_tags) OR discipline_tags LIKE '%K'iche' Maya, %' OR FIND_IN_SET('K'iche' Maya', special_tags) OR FIND_IN_SET(' K'iche' Maya', special_tags) OR FIND_IN_SET('K'iche' Maya ', special_tags) OR special_tags LIKE '%K'iche' Maya, %' OR FIND_IN_SET('K'iche' Maya', region_tags) OR FIND_IN_SET(' K'iche' Maya', region_tags) OR FIND_IN_SET('K'iche' Maya ', region_tags) OR region_tags LIKE '%K'iche' Maya, %' OR FIND_IN_SET('K'iche' Maya', country_tags) OR FIND_IN_SET(' K'iche' Maya', country_tags) OR FIND_IN_SET('K'iche' Maya ', country_tags) OR country_tags LIKE '%K'iche' Maya, %' )