[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_2_index F ON BE.ID = F.ELEMENT_ID
WHERE
F.SECTION_ID = 957
and F.FACET_ID in (4,438,116,118,120,124,126,328,440,442,484)
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 (((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/anderssen/web/anderssen.ru/public_html/bitrix/modules/main/lib/db/mysqliconnection.php:137
#0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL)
/home/anderssen/web/anderssen.ru/public_html/bitrix/modules/main/lib/db/connection.php:330
#1: Bitrix\Main\DB\Connection->query(string)
/home/anderssen/web/anderssen.ru/public_html/bitrix/modules/iblock/lib/propertyindex/facet.php:340
#2: Bitrix\Iblock\PropertyIndex\Facet->query(array)
/home/anderssen/web/anderssen.ru/public_html/bitrix/components/bitrix/catalog.smart.filter/component.php:62
#3: include(string)
/home/anderssen/web/anderssen.ru/public_html/bitrix/modules/main/classes/general/component.php:605
#4: CBitrixComponent->__includeComponent()
/home/anderssen/web/anderssen.ru/public_html/bitrix/modules/main/classes/general/component.php:103
#5: CBitrixComponent->executeComponent()
/home/anderssen/web/anderssen.ru/public_html/bitrix/components/bitrix/catalog.smart.filter/class.php:138
#6: CBitrixCatalogSmartFilter->executeComponent()
/home/anderssen/web/anderssen.ru/public_html/bitrix/modules/main/classes/general/component.php:649
#7: CBitrixComponent->includeComponent(string, array, boolean)
/home/anderssen/web/anderssen.ru/public_html/bitrix/modules/main/classes/general/main.php:1039
#8: CAllMain->IncludeComponent(string, string, array, boolean)
/home/anderssen/web/anderssen.ru/public_html/bitrix/templates/anderssen2017newyear/components/bitrix/catalog/catalog2016/section.php:1096
#9: include(string)
/home/anderssen/web/anderssen.ru/public_html/bitrix/modules/main/classes/general/component_template.php:789
#10: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string)
/home/anderssen/web/anderssen.ru/public_html/bitrix/modules/main/classes/general/component_template.php:884
#11: CBitrixComponentTemplate->IncludeTemplate(array)
/home/anderssen/web/anderssen.ru/public_html/bitrix/modules/main/classes/general/component.php:746
#12: CBitrixComponent->showComponentTemplate()
/home/anderssen/web/anderssen.ru/public_html/bitrix/modules/main/classes/general/component.php:694
#13: CBitrixComponent->includeComponentTemplate(string)
/home/anderssen/web/anderssen.ru/public_html/bitrix/components/bitrix/catalog/component.php:171
#14: include(string)
/home/anderssen/web/anderssen.ru/public_html/bitrix/modules/main/classes/general/component.php:605
#15: CBitrixComponent->__includeComponent()
/home/anderssen/web/anderssen.ru/public_html/bitrix/modules/main/classes/general/component.php:664
#16: CBitrixComponent->includeComponent(string, array, boolean)
/home/anderssen/web/anderssen.ru/public_html/bitrix/modules/main/classes/general/main.php:1039
#17: CAllMain->IncludeComponent(string, string, array, boolean)
/home/anderssen/web/anderssen.ru/public_html/catalog/index.php:288
#18: include_once(string)
/home/anderssen/web/anderssen.ru/public_html/bitrix/modules/main/include/urlrewrite.php:159
#19: include_once(string)
/home/anderssen/web/anderssen.ru/public_html/bitrix/urlrewrite.php:2
Fatal error: Uncaught Bitrix\Main\DB\SqlQueryException: Mysql query error: (2006) MySQL server has gone away in /home/anderssen/web/anderssen.ru/public_html/bitrix/modules/main/lib/db/mysqliconnection.php:137
Stack trace:
#0 /home/anderssen/web/anderssen.ru/public_html/bitrix/modules/main/lib/db/connection.php(330): Bitrix\Main\DB\MysqliConnection->queryInternal('SELECT \n\t`main_...', Array, NULL)
#1 /home/anderssen/web/anderssen.ru/public_html/bitrix/modules/main/lib/orm/query/query.php(3304): Bitrix\Main\DB\Connection->query('SELECT \n\t`main_...')
#2 /home/anderssen/web/anderssen.ru/public_html/bitrix/modules/main/lib/orm/query/query.php(816): Bitrix\Main\ORM\Query\Query->query('SELECT \n\t`main_...')
#3 /home/anderssen/web/anderssen.ru/public_html/bitrix/modules/main/lib/orm/data/datamanager.php(500): Bitrix\Main\ORM\Query\Query->exec()
#4 /home/anderssen/web/anderssen.ru/public_html/bitrix/modules/main/lib/analytics/sitespeed.php(95): Bitrix\Main\ORM\Data\DataManager::getList(Array)
#5 /home/anderssen/web/anderssen. in /home/anderssen/web/anderssen.ru/public_html/bitrix/modules/main/lib/db/mysqliconnection.php on line 137