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 '%g-star%' OR p.products_model LIKE '%g-star%' OR m.manufacturers_name LIKE '%g-star%' OR (mtpd.metatags_keywords LIKE '%g-star%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%g-star%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%raw��%' OR p.products_model LIKE '%raw��%' OR m.manufacturers_name LIKE '%raw��%' OR (mtpd.metatags_keywords LIKE '%raw��%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%raw��%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%men\'s%' OR p.products_model LIKE '%men\'s%' OR m.manufacturers_name LIKE '%men\'s%' OR (mtpd.metatags_keywords LIKE '%men\'s%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%men\'s%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%stalt%' OR p.products_model LIKE '%stalt%' OR m.manufacturers_name LIKE '%stalt%' OR (mtpd.metatags_keywords LIKE '%stalt%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%stalt%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%regular%' OR p.products_model LIKE '%regular%' OR m.manufacturers_name LIKE '%regular%' OR (mtpd.metatags_keywords LIKE '%regular%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%regular%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%t-shirt%' OR p.products_model LIKE '%t-shirt%' OR m.manufacturers_name LIKE '%t-shirt%' OR (mtpd.metatags_keywords LIKE '%t-shirt%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%t-shirt%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%medium%' OR p.products_model LIKE '%medium%' OR m.manufacturers_name LIKE '%medium%' OR (mtpd.metatags_keywords LIKE '%medium%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%medium%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%aged%' OR p.products_model LIKE '%aged%' OR m.manufacturers_name LIKE '%aged%' OR (mtpd.metatags_keywords LIKE '%aged%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%aged%' AND mtpd.metatags_description !='')) ))]