There was an error in your query:
SELECT count(distinct tblproducts.id) as id FROM tblcategory LEFT JOIN tblsubcategory ON (tblsubcategory.p_id = tblcategory.id) INNER JOIN tblproducts ON (tblproducts.cat_id = tblcategory.id) INNER JOIN tblbrands ON (tblproducts.brand_id = tblbrands.id) WHERE tblproducts.isActive = 1
MySQL server response was: Lost connection to server during query
MySQL Error Code: 2013
SELECT count(distinct tblproducts.id) as id FROM tblcategory LEFT JOIN tblsubcategory ON (tblsubcategory.p_id = tblcategory.id) INNER JOIN tblproducts ON (tblproducts.cat_id = tblcategory.id) INNER JOIN tblbrands ON (tblproducts.brand_id = tblbrands.id) WHERE tblproducts.isActive = 1
MySQL server response was: Lost connection to server during query
MySQL Error Code: 2013
