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 '%kids%' OR p.products_model LIKE '%kids%' OR m.manufacturers_name LIKE '%kids%' OR (mtpd.metatags_keywords LIKE '%kids%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%kids%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%just%' OR p.products_model LIKE '%just%' OR m.manufacturers_name LIKE '%just%' OR (mtpd.metatags_keywords LIKE '%just%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%just%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%do%' OR p.products_model LIKE '%do%' OR m.manufacturers_name LIKE '%do%' OR (mtpd.metatags_keywords LIKE '%do%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%do%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%it���%' OR p.products_model LIKE '%it���%' OR m.manufacturers_name LIKE '%it���%' OR (mtpd.metatags_keywords LIKE '%it���%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%it���%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%splice%' OR p.products_model LIKE '%splice%' OR m.manufacturers_name LIKE '%splice%' OR (mtpd.metatags_keywords LIKE '%splice%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%splice%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%dri-fit���%' OR p.products_model LIKE '%dri-fit���%' OR m.manufacturers_name LIKE '%dri-fit���%' OR (mtpd.metatags_keywords LIKE '%dri-fit���%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%dri-fit���%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%short%' OR p.products_model LIKE '%short%' OR m.manufacturers_name LIKE '%short%' OR (mtpd.metatags_keywords LIKE '%short%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%short%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%sleeve%' OR p.products_model LIKE '%sleeve%' OR m.manufacturers_name LIKE '%sleeve%' OR (mtpd.metatags_keywords LIKE '%sleeve%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%sleeve%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%tee%' OR p.products_model LIKE '%tee%' OR m.manufacturers_name LIKE '%tee%' OR (mtpd.metatags_keywords LIKE '%tee%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%tee%' AND mtpd.metatags_description !='')) and ( (pd.products_name LIKE '%toddler%' OR p.products_model LIKE '%toddler%' OR m.manufacturers_name LIKE '%toddler%' OR (mtpd.metatags_keywords LIKE '%toddler%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%toddler%' AND mtpd.metatags_description !='')) ) ))]