[Bitrix\Main\DB\SqlQueryException] Mysql query error: (2006) MySQL server has gone away (400) SELECT F.FACET_ID ,F.VALUE ,MIN(F.VALUE_NUM) MIN_VALUE_NUM ,MAX(F.VALUE_NUM) MAX_VALUE_NUM ,MAX(case when LOCATE('.', F.VALUE_NUM) > 0 then LENGTH(SUBSTRING_INDEX(F.VALUE_NUM, '.', -1)) else 0 end) VALUE_FRAC_LEN ,COUNT(DISTINCT F.ELEMENT_ID) ELEMENT_COUNT 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 LEFT JOIN b_iblock_property FP0 ON FP0.IBLOCK_ID = B.ID AND FP0.CODE='TOLKO_V_KOMPLEKTE' LEFT JOIN b_iblock_element_property FPV0 ON FPV0.IBLOCK_PROPERTY_ID = FP0.ID AND FPV0.IBLOCK_ELEMENT_ID = BE.ID LEFT JOIN b_iblock_property_enum FPEN0 ON FPEN0.PROPERTY_ID = FPV0.IBLOCK_PROPERTY_ID AND FPV0.VALUE_ENUM = FPEN0.ID left join b_catalog_price CAT_P3 on (CAT_P3.PRODUCT_ID = BE.ID AND CAT_P3.CATALOG_GROUP_ID = 3) left join b_catalog_price CAT_P15 on (CAT_P15.PRODUCT_ID = BE.ID AND CAT_P15.CATALOG_GROUP_ID = 15) 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)) left join b_catalog_store_product CAT_SP1 on (CAT_SP1.PRODUCT_ID = BE.ID and CAT_SP1.STORE_ID = 1) INNER JOIN b_iblock_4_index F ON BE.ID = F.ELEMENT_ID WHERE F.SECTION_ID = 109 and F.FACET_ID in (3404,1316,1584,1432,1352,1354,1372,3388,1330,1338,3320,1344,1370,1384,1402,1592,1598,1418,1426,1436,1446,1652,1738,1742,1744,1748,1754,1722,1812,1834,1838,1840,2024,2096,3316,31) AND ( (((BE.ACTIVE_TO >= now() OR BE.ACTIVE_TO IS NULL) AND (BE.ACTIVE_FROM <= now() OR BE.ACTIVE_FROM IS NULL))) AND ((((CAT_P15.PRICE > '0')))) AND ((((CAT_P3.PRICE > '0')))) AND ( ( ((((CAT_SP1.AMOUNT > '0')))) ) OR ( ((((CAT_SP1.AMOUNT = '-1')))) ) ) AND ((((BE.IBLOCK_ID = '4')))) AND ((( FPEN0.VALUE IS NULL OR NOT (FPEN0.VALUE LIKE 'Да')))) ) AND (((BE.WF_STATUS_ID=1 AND BE.WF_PARENT_ELEMENT_ID IS NULL))) GROUP BY F.FACET_ID, F.VALUE /home/bitrix/www/bitrix/modules/main/lib/db/mysqliconnection.php:137 #0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL) /home/bitrix/www/bitrix/modules/main/lib/db/connection.php:329 #1: Bitrix\Main\DB\Connection->query(string) /home/bitrix/www/bitrix/modules/iblock/lib/propertyindex/facet.php:340 #2: Bitrix\Iblock\PropertyIndex\Facet->query(array) /home/bitrix/www/bitrix/components/dvt.santeh/catalog.smart.filter/component.php:63 #3: include(string) /home/bitrix/www/bitrix/modules/main/classes/general/component.php:551 #4: CBitrixComponent->__includeComponent() /home/bitrix/www/bitrix/modules/main/classes/general/component.php:99 #5: CBitrixComponent->executeComponent() /home/bitrix/www/bitrix/components/dvt.santeh/catalog.smart.filter/class.php:86 #6: CBitrixCatalogSmartFilter->executeComponent() /home/bitrix/www/bitrix/modules/main/classes/general/component.php:588 #7: CBitrixComponent->includeComponent(string, array, object) /home/bitrix/www/bitrix/modules/main/classes/general/main.php:1041 #8: CAllMain->IncludeComponent(string, string, array, object, array) /home/bitrix/www/bitrix/templates/santmag/components/bitrix/catalog/sant/section.php:303 #9: include(string) /home/bitrix/www/bitrix/modules/main/classes/general/component_template.php:720 #10: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string) /home/bitrix/www/bitrix/modules/main/classes/general/component_template.php:815 #11: CBitrixComponentTemplate->IncludeTemplate(array) /home/bitrix/www/bitrix/modules/main/classes/general/component.php:685 #12: CBitrixComponent->showComponentTemplate() /home/bitrix/www/bitrix/modules/main/classes/general/component.php:633 #13: CBitrixComponent->includeComponentTemplate(string) /home/bitrix/www/bitrix/components/bitrix/catalog/component.php:169 #14: include(string) /home/bitrix/www/bitrix/modules/main/classes/general/component.php:551 #15: CBitrixComponent->__includeComponent() /home/bitrix/www/bitrix/modules/main/classes/general/component.php:603 #16: CBitrixComponent->includeComponent(string, array, boolean) /home/bitrix/www/bitrix/modules/main/classes/general/main.php:1041 #17: CAllMain->IncludeComponent(string, string, array, boolean) /home/bitrix/www/catalog/index.php:1791 #18: include_once(string) /home/bitrix/www/bitrix/modules/main/include/urlrewrite.php:159 #19: include_once(string) /home/bitrix/www/bitrix/urlrewrite.php:2