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 '%boys\'%' OR p.products_model LIKE '%boys\'%' OR m.manufacturers_name LIKE '%boys\'%' OR (mtpd.metatags_keywords LIKE '%boys\'%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%boys\'%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%bonehead���%' OR p.products_model LIKE '%bonehead���%' OR m.manufacturers_name LIKE '%bonehead���%' OR (mtpd.metatags_keywords LIKE '%bonehead���%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%bonehead���%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%ss%' OR p.products_model LIKE '%ss%' OR m.manufacturers_name LIKE '%ss%' OR (mtpd.metatags_keywords LIKE '%ss%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%ss%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%shirt%' OR p.products_model LIKE '%shirt%' OR m.manufacturers_name LIKE '%shirt%' OR (mtpd.metatags_keywords LIKE '%shirt%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%shirt%' 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 '%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 !='')) 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 '%sunset%' OR p.products_model LIKE '%sunset%' OR m.manufacturers_name LIKE '%sunset%' OR (mtpd.metatags_keywords LIKE '%sunset%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%sunset%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%red%' OR p.products_model LIKE '%red%' OR m.manufacturers_name LIKE '%red%' OR (mtpd.metatags_keywords LIKE '%red%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%red%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%z46j4410or41%' OR p.products_model LIKE '%z46j4410or41%' OR m.manufacturers_name LIKE '%z46j4410or41%' OR (mtpd.metatags_keywords LIKE '%z46j4410or41%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%z46j4410or41%' AND mtpd.metatags_description !='')) ))]