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 ''', tags) OR FIND_IN_SET(' k'iche'', tags) OR FIND_IN_SET('k'iche' ', tags) OR t' at line 1

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