[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_2_index F
					INNER JOIN (
						SELECT BE.ID
						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_property FP0 ON FP0.IBLOCK_ID = B.ID AND  FP0.CODE='CITY'
			INNER JOIN b_iblock_element_property FPV0 ON FPV0.IBLOCK_PROPERTY_ID = FP0.ID AND FPV0.IBLOCK_ELEMENT_ID = BE.ID

			left join b_catalog_price as CAT_P41 on (CAT_P41.PRODUCT_ID = BE.ID and CAT_P41.CATALOG_GROUP_ID = 41)
			left join b_catalog_product as CAT_PR on (CAT_PR.ID = BE.ID)
			left join b_catalog_iblock as 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 as 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))

		
							INNER JOIN b_iblock_2_index FC on FC.ELEMENT_ID = BE.ID
						WHERE 1=1 AND FC.SECTION_ID = 1161 AND FC.FACET_ID = 1722 AND FC.VALUE_NUM = 0 AND FC.VALUE in (178)
						
			AND (
			
				(((BE.ACTIVE_TO >= now() OR BE.ACTIVE_TO IS NULL) AND (BE.ACTIVE_FROM <= now() OR BE.ACTIVE_FROM IS NULL)))
				AND ((((BE.IBLOCK_ID = '2'))))
				AND ((((FPV0.VALUE_NUM = '173278301'))))
				AND ((((CAT_P41.PRICE > '0'))))
			)
			AND (((BE.WF_STATUS_ID=1 AND BE.WF_PARENT_ELEMENT_ID IS NULL)))
			AND ((
				B.ID IN (
			SELECT IBLOCK_ID
			FROM b_iblock_group IBG
			WHERE IBG.GROUP_ID IN (2)
			AND IBG.PERMISSION >= 'R'
		
				AND (IBG.PERMISSION='X' OR B.ACTIVE='Y')
			)
				OR (B.RIGHTS_MODE = 'E' AND EXISTS (
				SELECT ER.ELEMENT_ID
				FROM b_iblock_element_right ER
				INNER JOIN b_iblock_right IBR ON IBR.ID = ER.RIGHT_ID
				INNER JOIN b_user_access UA ON UA.ACCESS_CODE = IBR.GROUP_CODE AND UA.USER_ID = 0
				WHERE ER.ELEMENT_ID = BE.ID
				AND IBR.OP_EREAD = 'Y'
				
			))
			))
					) E ON E.ID = F.ELEMENT_ID
				WHERE
					F.SECTION_ID = 1161
					and F.FACET_ID in (10,1014,1062,1174,1230,24,1028,1110,1102,1020,1038,1026,1096,1094,22,1000,1012,1024,1034,1036,1042,1048,1050,1052,1054,1056,1058,1066,1078,1100,1122,1126,1140,1150,1154,1156,1160,1170,1180,1192,1210,1222,1242,1244,1746,1748,1754,1756,1758,1760,1286,1288,1298,1300,1662,1664,1670,1714,83)
				GROUP BY
					F.FACET_ID, F.VALUE
			
UNION ALL

					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
			INNER JOIN b_iblock_property FP0 ON FP0.IBLOCK_ID = B.ID AND  FP0.CODE='CITY'
			INNER JOIN b_iblock_element_property FPV0 ON FPV0.IBLOCK_PROPERTY_ID = FP0.ID AND FPV0.IBLOCK_ELEMENT_ID = BE.ID

			left join b_catalog_price as CAT_P41 on (CAT_P41.PRODUCT_ID = BE.ID and CAT_P41.CATALOG_GROUP_ID = 41)
			left join b_catalog_product as CAT_PR on (CAT_PR.ID = BE.ID)
			left join b_catalog_iblock as 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 as 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))

		
							INNER JOIN b_iblock_2_index F ON BE.ID = F.ELEMENT_ID
					WHERE
						F.SECTION_ID = 1161
						and F.FACET_ID in (1722)
						
			AND (
			
				(((BE.ACTIVE_TO >= now() OR BE.ACTIVE_TO IS NULL) AND (BE.ACTIVE_FROM <= now() OR BE.ACTIVE_FROM IS NULL)))
				AND ((((BE.IBLOCK_ID = '2'))))
				AND ((((FPV0.VALUE_NUM = '173278301'))))
				AND ((((CAT_P41.PRICE > '0'))))
			)
			AND (((BE.WF_STATUS_ID=1 AND BE.WF_PARENT_ELEMENT_ID IS NULL)))
			AND ((
				B.ID IN (
			SELECT IBLOCK_ID
			FROM b_iblock_group IBG
			WHERE IBG.GROUP_ID IN (2)
			AND IBG.PERMISSION >= 'R'
		
				AND (IBG.PERMISSION='X' OR B.ACTIVE='Y')
			)
				OR (B.RIGHTS_MODE = 'E' AND EXISTS (
				SELECT ER.ELEMENT_ID
				FROM b_iblock_element_right ER
				INNER JOIN b_iblock_right IBR ON IBR.ID = ER.RIGHT_ID
				INNER JOIN b_user_access UA ON UA.ACCESS_CODE = IBR.GROUP_CODE AND UA.USER_ID = 0
				WHERE ER.ELEMENT_ID = BE.ID
				AND IBR.OP_EREAD = 'Y'
				
			))
			))
					GROUP BY
						F.FACET_ID, F.VALUE
				
/home/bitrix/ext_www/domix-club.ru/bitrix/modules/main/lib/db/mysqliconnection.php:137
#0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL)
	/home/bitrix/ext_www/domix-club.ru/bitrix/modules/main/lib/db/connection.php:330
#1: Bitrix\Main\DB\Connection->query(string)
	/home/bitrix/ext_www/domix-club.ru/bitrix/modules/iblock/lib/propertyindex/facet.php:340
#2: Bitrix\Iblock\PropertyIndex\Facet->query(array)
	/home/bitrix/ext_www/domix-club.ru/bitrix/components/bitrix/catalog.smart.filter/component.php:445
#3: include(string)
	/home/bitrix/ext_www/domix-club.ru/bitrix/modules/main/classes/general/component.php:605
#4: CBitrixComponent->__includeComponent()
	/home/bitrix/ext_www/domix-club.ru/bitrix/modules/main/classes/general/component.php:103
#5: CBitrixComponent->executeComponent()
	/home/bitrix/ext_www/domix-club.ru/bitrix/components/bitrix/catalog.smart.filter/class.php:138
#6: CBitrixCatalogSmartFilter->executeComponent()
	/home/bitrix/ext_www/domix-club.ru/bitrix/modules/main/classes/general/component.php:656
#7: CBitrixComponent->includeComponent(string, array, object, boolean)
	/home/bitrix/ext_www/domix-club.ru/bitrix/modules/main/classes/general/main.php:1063
#8: CAllMain->IncludeComponent(string, string, array, object, array)
	/home/bitrix/ext_www/domix-club.ru/local/templates/polmira/components/bitrix/catalog/catalog/section_vertical.php:168
#9: include(string)
	/home/bitrix/ext_www/domix-club.ru/local/templates/polmira/components/bitrix/catalog/catalog/section.php:72
#10: include(string)
	/home/bitrix/ext_www/domix-club.ru/bitrix/modules/main/classes/general/component_template.php:789
#11: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string)
	/home/bitrix/ext_www/domix-club.ru/bitrix/modules/main/classes/general/component_template.php:884
#12: CBitrixComponentTemplate->IncludeTemplate(array)
	/home/bitrix/ext_www/domix-club.ru/bitrix/modules/main/classes/general/component.php:764
#13: CBitrixComponent->showComponentTemplate()
	/home/bitrix/ext_www/domix-club.ru/bitrix/modules/main/classes/general/component.php:712
#14: CBitrixComponent->includeComponentTemplate(string)
	/home/bitrix/ext_www/domix-club.ru/bitrix/components/bitrix/catalog/component.php:173
#15: include(string)
	/home/bitrix/ext_www/domix-club.ru/bitrix/modules/main/classes/general/component.php:605
#16: CBitrixComponent->__includeComponent()
	/home/bitrix/ext_www/domix-club.ru/bitrix/modules/main/classes/general/component.php:680
#17: CBitrixComponent->includeComponent(string, array, boolean, boolean)
	/home/bitrix/ext_www/domix-club.ru/bitrix/modules/main/classes/general/main.php:1063
#18: CAllMain->IncludeComponent(string, string, array, boolean)
	/home/bitrix/ext_www/domix-club.ru/catalog/index.php:338
#19: include_once(string)
	/home/bitrix/ext_www/domix-club.ru/bitrix/modules/main/include/urlrewrite.php:159
#20: include_once(string)
	/home/bitrix/ext_www/domix-club.ru/bitrix/urlrewrite.php:2

Fatal error: Uncaught Bitrix\Main\DB\SqlQueryException: Mysql query error: (2006) MySQL server has gone away in /home/bitrix/ext_www/domix-club.ru/bitrix/modules/main/lib/db/mysqliconnection.php:137 Stack trace: #0 /home/bitrix/ext_www/domix-club.ru/bitrix/modules/main/lib/db/connection.php(330): Bitrix\Main\DB\MysqliConnection->queryInternal('SELECT \n\t`main_...', Array, NULL) #1 /home/bitrix/ext_www/domix-club.ru/bitrix/modules/main/lib/orm/query/query.php(3398): Bitrix\Main\DB\Connection->query('SELECT \n\t`main_...') #2 /home/bitrix/ext_www/domix-club.ru/bitrix/modules/main/lib/orm/query/query.php(825): Bitrix\Main\ORM\Query\Query->query('SELECT \n\t`main_...') #3 /home/bitrix/ext_www/domix-club.ru/bitrix/modules/main/lib/orm/data/datamanager.php(500): Bitrix\Main\ORM\Query\Query->exec() #4 /home/bitrix/ext_www/domix-club.ru/bitrix/modules/main/lib/analytics/sitespeed.php(95): Bitrix\Main\ORM\Data\DataManager::getList(Array) #5 /home/bitrix/ext_www/domix-club.ru/bitrix/modules/main/lib/analytics/counter.php(92): Bitr in /home/bitrix/ext_www/domix-club.ru/bitrix/modules/main/lib/db/mysqliconnection.php on line 137