Water Slides

Clear All Filters
 
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 pd.language_id ' at line 13

select count(p.products_id) as total from (products p left join specials_retail_prices s using(products_id) ) left join manufacturers m on p.manufacturers_id = m.manufacturers_id left join themes t on p.themes_id = t.themes_id, products_filters pf, products_description pd, products_to_categories p2c where p.products_status = '1' and p.products_current_status = 'active' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and p.products_id = pf.products_id and () and pd.language_id = '1' and p2c.categories_id = '1' and (products_group_access like "%,g,%" or products_group_access like "g,%" or products_group_access like "%,g" or products_group_access="g")