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 'Literature', tags) OR FIND_IN_SET(' Children's Literature', tags) OR FIND_IN_SET' at line 1

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