1267 Illegal mix of collations (latin1_general_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation 'like'
in:
[select count(distinct p.products_id) as total FROM (products p LEFT JOIN manufacturers m USING(manufacturers_id), products_description pd, categories c, products_to_categories p2c ) LEFT JOIN meta_tags_products_description mtpd ON mtpd.products_id= p2c.products_id AND mtpd.language_id = 1 WHERE (p.products_status = 1 AND p.products_id = pd.products_id AND pd.language_id = 1 AND p.products_id = p2c.products_id AND p2c.categories_id = c.categories_id AND ((pd.products_name LIKE '%nike%' OR p.products_model LIKE '%nike%' OR m.manufacturers_name LIKE '%nike%' OR (mtpd.metatags_keywords LIKE '%nike%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%nike%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%wmns%' OR p.products_model LIKE '%wmns%' OR m.manufacturers_name LIKE '%wmns%' OR (mtpd.metatags_keywords LIKE '%wmns%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%wmns%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%air%' OR p.products_model LIKE '%air%' OR m.manufacturers_name LIKE '%air%' OR (mtpd.metatags_keywords LIKE '%air%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%air%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%huarache%' OR p.products_model LIKE '%huarache%' OR m.manufacturers_name LIKE '%huarache%' OR (mtpd.metatags_keywords LIKE '%huarache%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%huarache%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%run%' OR p.products_model LIKE '%run%' OR m.manufacturers_name LIKE '%run%' OR (mtpd.metatags_keywords LIKE '%run%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%run%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%ultra%' OR p.products_model LIKE '%ultra%' OR m.manufacturers_name LIKE '%ultra%' OR (mtpd.metatags_keywords LIKE '%ultra%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%ultra%' AND mtpd.metatags_description !='')) and ( (pd.products_name LIKE '%licht%' OR p.products_model LIKE '%licht%' OR m.manufacturers_name LIKE '%licht%' OR (mtpd.metatags_keywords LIKE '%licht%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%licht%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%bone%' OR p.products_model LIKE '%bone%' OR m.manufacturers_name LIKE '%bone%' OR (mtpd.metatags_keywords LIKE '%bone%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%bone%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%/%' OR p.products_model LIKE '%/%' OR m.manufacturers_name LIKE '%/%' OR (mtpd.metatags_keywords LIKE '%/%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%/%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%orchid%' OR p.products_model LIKE '%orchid%' OR m.manufacturers_name LIKE '%orchid%' OR (mtpd.metatags_keywords LIKE '%orchid%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%orchid%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%-%' OR p.products_model LIKE '%-%' OR m.manufacturers_name LIKE '%-%' OR (mtpd.metatags_keywords LIKE '%-%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%-%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%gum%' OR p.products_model LIKE '%gum%' OR m.manufacturers_name LIKE '%gum%' OR (mtpd.metatags_keywords LIKE '%gum%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%gum%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%gelb%' OR p.products_model LIKE '%gelb%' OR m.manufacturers_name LIKE '%gelb%' OR (mtpd.metatags_keywords LIKE '%gelb%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%gelb%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%-%' OR p.products_model LIKE '%-%' OR m.manufacturers_name LIKE '%-%' OR (mtpd.metatags_keywords LIKE '%-%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%-%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%wei��%' OR p.products_model LIKE '%wei��%' OR m.manufacturers_name LIKE '%wei��%' OR (mtpd.metatags_keywords LIKE '%wei��%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%wei��%' AND mtpd.metatags_description !='')) ) ))]