1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND p.products_id = pd.products_id ' at line 4
in:
[select count(p.products_id) as total FROM products p LEFT JOIN manufacturers m ON (p.manufacturers_id = m.manufacturers_id), products_description pd WHERE p.products_status = 1 and p.master_categories_id in () AND p.products_id = pd.products_id AND pd.language_id = 1 ]