MySQL Query Error: SELECT COUNT(DISTINCT BE.ID) as C FROM b_iblock B INNER JOIN b_lang L ON B.LID=L.LID INNER JOIN b_iblock_element BE ON BE.IBLOCK_ID = B.ID INNER JOIN b_iblock_element_prop_s7 FPS0 ON FPS0.IBLOCK_ELEMENT_ID = BE.ID LEFT JOIN b_iblock_element BE0 ON BE0.ID = FPS0.PROPERTY_109 AND ((BE.WF_STATUS_ID=1 AND BE.WF_PARENT_ELEMENT_ID IS NULL)) LEFT JOIN b_iblock_element BE1 ON BE1.ID = FPS0.PROPERTY_110 AND ((BE.WF_STATUS_ID=1 AND BE.WF_PARENT_ELEMENT_ID IS NULL)) LEFT JOIN b_iblock_element BE2 ON BE2.ID = FPS0.PROPERTY_33 AND ((BE.WF_STATUS_ID=1 AND BE.WF_PARENT_ELEMENT_ID IS NULL)) LEFT JOIN b_iblock_element BE3 ON BE3.ID = FPS0.PROPERTY_380 AND ((BE.WF_STATUS_ID=1 AND BE.WF_PARENT_ELEMENT_ID IS NULL)) LEFT JOIN b_iblock_element BE4 ON BE4.ID = FPS0.PROPERTY_79 AND ((BE.WF_STATUS_ID=1 AND BE.WF_PARENT_ELEMENT_ID IS NULL)) LEFT JOIN b_iblock_property JFP0 ON JFP0.IBLOCK_ID = BE2.IBLOCK_ID AND JFP0.CODE='P_OSP_FLAG' LEFT JOIN b_iblock_element_property JFPV0 ON JFPV0.IBLOCK_PROPERTY_ID = JFP0.ID AND JFPV0.IBLOCK_ELEMENT_ID = BE2.ID left join b_catalog_product CAT_PR on (CAT_PR.ID = BE.ID) left join b_catalog_iblock CAT_IB on ((CAT_PR.VAT_ID IS NULL OR CAT_PR.VAT_ID = 0) AND CAT_IB.IBLOCK_ID = BE.IBLOCK_ID) left join b_catalog_vat CAT_VAT on (CAT_VAT.ID = IF((CAT_PR.VAT_ID IS NULL OR CAT_PR.VAT_ID = 0), CAT_IB.VAT_ID, CAT_PR.VAT_ID)) WHERE 1=1 AND ( ((((BE.IBLOCK_ID = '7')))) AND ((((BE.ACTIVE='Y')))) AND ((((CAT_PR.AVAILABLE='Y')))) AND ((((B.IBLOCK_TYPE_ID = 'products')))) AND ((((BE4.CODE LIKE 'kagotsel')))) ) AND (((BE.WF_STATUS_ID=1 AND BE.WF_PARENT_ELEMENT_ID IS NULL))) [[2006] MySQL server has gone away]

DB query error.
Please try later.