[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 INNER JOIN b_iblock_4_index F ON BE.ID = F.ELEMENT_ID WHERE F.SECTION_ID = 136 and F.FACET_ID in (100,108,358,682,686,1224,1784,658,150,152,272,352,354,356,362,364,604,644,662,674,676,722,750,804,806,824,826,828,894,896,906,950,1124,1132,1176,1178,1184,1208,1210,1234,1236,1238,1240,1252,1256,1342,1344,1348,1510,1780,1082,654,1752,1754,1768,1762,1760,1058,1128,1790,1122,1792,900,902,1750,904,1172,1020,908,1504,1060,1514,716,1316,1062,1392,978,910,1174,912,1288,982,916,984,938,962,986,664,920,952,964,1064,688,966,968,970,988,1394,954,1066,1204,668,956,670,958,960,972,990,892,974,976,1078,678,684,1828,1092,1244,1260,1094,1080,1832,876,1246,1274,1262,798,1032,1136,880,1034,1022,1552,878,882,1030,1036,884,1038,1264,1402,886,942,1040,1126,888,1042,890,1248,1026,1028,1068,1282,1130,1284,1732,1212,1268,1770,1070,1772,1774,620,774,1096,1138,1230,1140,1736,872,1098,1232,1734,1250,946,1106,948,1108,1046,1048,1052,1100,1054,1072,1056,898,1266,1074,1084,1086,1102,1254,1114,1214,1116,1216,1218,1738,1220,1088,1118,1346,1090,1120,1144,1076,1146,1148,1222,1258,1110,1226,1228,1104,1008,1112,1134,1142,1180,1306,1182,1310,1312,1314,1300,1242,1302,1292,1308,1272,1206,1294,1304,1296,3) 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 = '4')))) ) 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/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:330 #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/bitrix/catalog.smart.filter/component.php:62 #3: include(string) /home/bitrix/www/bitrix/modules/main/classes/general/component.php:605 #4: CBitrixComponent->__includeComponent() /home/bitrix/www/bitrix/modules/main/classes/general/component.php:103 #5: CBitrixComponent->executeComponent() /home/bitrix/www/bitrix/components/bitrix/catalog.smart.filter/class.php:138 #6: CBitrixCatalogSmartFilter->executeComponent() /home/bitrix/www/bitrix/modules/main/classes/general/component.php:649 #7: CBitrixComponent->includeComponent(string, array, object) /home/bitrix/www/bitrix/modules/main/classes/general/main.php:1039 #8: CAllMain->IncludeComponent(string, string, array, object, array) /home/bitrix/www/local/templates/expert24_default/components/tesslab/catalog/main/section_vertical.php:82 #9: include(string) /home/bitrix/www/local/templates/expert24_default/components/tesslab/catalog/main/section.php:78 #10: include(string) /home/bitrix/www/bitrix/modules/main/classes/general/component_template.php:789 #11: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string) /home/bitrix/www/bitrix/modules/main/classes/general/component_template.php:884 #12: CBitrixComponentTemplate->IncludeTemplate(array) /home/bitrix/www/bitrix/modules/main/classes/general/component.php:746 #13: CBitrixComponent->showComponentTemplate() /home/bitrix/www/bitrix/modules/main/classes/general/component.php:694 #14: CBitrixComponent->includeComponentTemplate(string) /home/bitrix/www/local/components/tesslab/catalog/component.php:197 #15: include(string) /home/bitrix/www/bitrix/modules/main/classes/general/component.php:605 #16: CBitrixComponent->__includeComponent() /home/bitrix/www/bitrix/modules/main/classes/general/component.php:664 #17: CBitrixComponent->includeComponent(string, array, boolean) /home/bitrix/www/bitrix/modules/main/classes/general/main.php:1039 #18: CAllMain->IncludeComponent(string, string, array, boolean) /home/bitrix/www/ua/catalog/index.php:530 #19: include_once(string) /home/bitrix/www/bitrix/modules/main/include/urlrewrite.php:159 #20: include_once(string) /home/bitrix/www/bitrix/urlrewrite.php:2