[Bitrix\Main\DB\SqlQueryException] 
Mysql query error: (2006) MySQL server has gone away (400)
SELECT 
	`catalog_catalog_iblock`.`IBLOCK_ID` AS `IBLOCK_ID`,
	`catalog_catalog_iblock`.`PRODUCT_IBLOCK_ID` AS `PRODUCT_IBLOCK_ID`,
	`catalog_catalog_iblock`.`SKU_PROPERTY_ID` AS `SKU_PROPERTY_ID`,
	`catalog_catalog_iblock_iblock`.`VERSION` AS `VERSION`
FROM `b_catalog_iblock` `catalog_catalog_iblock` 
INNER JOIN `b_iblock` `catalog_catalog_iblock_iblock` ON `catalog_catalog_iblock`.`IBLOCK_ID` = `catalog_catalog_iblock_iblock`.`ID`
WHERE `catalog_catalog_iblock`.`PRODUCT_IBLOCK_ID` = 16
/var/www/kssmarket.ru/htdocs/bitrix/modules/main/lib/db/mysqliconnection.php:137
#0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL)
	/var/www/kssmarket.ru/htdocs/bitrix/modules/main/lib/db/connection.php:330
#1: Bitrix\Main\DB\Connection->query(string)
	/var/www/kssmarket.ru/htdocs/bitrix/modules/main/lib/orm/query/query.php:3190
#2: Bitrix\Main\ORM\Query\Query->query(string)
	/var/www/kssmarket.ru/htdocs/bitrix/modules/main/lib/orm/query/query.php:806
#3: Bitrix\Main\ORM\Query\Query->exec()
	/var/www/kssmarket.ru/htdocs/bitrix/modules/main/lib/orm/data/datamanager.php:457
#4: Bitrix\Main\ORM\Data\DataManager::getList(array)
	/var/www/kssmarket.ru/htdocs/bitrix/modules/catalog/general/catalog_sku.php:143
#5: CAllCatalogSku::GetInfoByProductIBlock(integer)
	/var/www/kssmarket.ru/htdocs/bitrix/modules/iblock/lib/propertyindex/facet.php:45
#6: Bitrix\Iblock\PropertyIndex\Facet->__construct(integer)
	/var/www/kssmarket.ru/htdocs/bitrix/modules/iblock/lib/propertyindex/querybuilder.php:28
#7: Bitrix\Iblock\PropertyIndex\QueryBuilder->__construct(integer)
	/var/www/kssmarket.ru/htdocs/bitrix/modules/iblock/classes/general/iblockelement.php:653
#8: CAllIBlockElement->MkFilter(array, array, array)
	/var/www/kssmarket.ru/htdocs/bitrix/modules/iblock/classes/general/iblockelement.php:3091
#9: CAllIBlockElement->PrepareGetList(array, array, array, string, array, array, NULL, NULL, array, boolean, string, array, array, array)
	/var/www/kssmarket.ru/htdocs/bitrix/modules/iblock/classes/mysql/iblockelement.php:340
#10: CIBlockElement->prepareSql(array, array, boolean, array)
	/var/www/kssmarket.ru/htdocs/bitrix/modules/iblock/classes/mysql/iblockelement.php:643
#11: CIBlockElement::GetList(array, array, boolean, array, array)
	/var/www/kssmarket.ru/htdocs/local/php_interface/init.php:4659
#12: CheckRedirectCatalog()
	/var/www/kssmarket.ru/htdocs/local/templates/letsrock/header.php:25
#13: include_once(string)
	/var/www/kssmarket.ru/htdocs/bitrix/modules/main/include/prolog_after.php:96
#14: require(string)
	/var/www/kssmarket.ru/htdocs/bitrix/modules/main/include/prolog.php:11
#15: require_once(string)
	/var/www/kssmarket.ru/htdocs/bitrix/header.php:1
#16: require(string)
	/var/www/kssmarket.ru/htdocs/item/index.php:1
#17: include_once(string)
	/var/www/kssmarket.ru/htdocs/bitrix/modules/main/include/urlrewrite.php:159
#18: include_once(string)
	/var/www/kssmarket.ru/htdocs/bitrix/urlrewrite.php:2

Fatal error: Uncaught Bitrix\Main\DB\SqlQueryException: Mysql query error: (2006) MySQL server has gone away in /var/www/kssmarket.ru/htdocs/bitrix/modules/main/lib/db/mysqliconnection.php:137 Stack trace: #0 /var/www/kssmarket.ru/htdocs/bitrix/modules/main/lib/db/connection.php(330): Bitrix\Main\DB\MysqliConnection->queryInternal('SELECT \n\t`sale_...', Array, NULL) #1 /var/www/kssmarket.ru/htdocs/bitrix/modules/main/lib/orm/query/query.php(3190): Bitrix\Main\DB\Connection->query('SELECT \n\t`sale_...') #2 /var/www/kssmarket.ru/htdocs/bitrix/modules/main/lib/orm/query/query.php(806): Bitrix\Main\ORM\Query\Query->query('SELECT \n\t`sale_...') #3 /var/www/kssmarket.ru/htdocs/bitrix/modules/main/lib/orm/data/datamanager.php(457): Bitrix\Main\ORM\Query\Query->exec() #4 /var/www/kssmarket.ru/htdocs/bitrix/modules/pecom.ecomm/classes/lib/Bitrix/Handler/deliveries.php(69): Bitrix\Main\ORM\Data\DataManager::getList(Array) #5 /var/www/kssmarket.ru/htdocs/bitrix/modules/pecom.ecomm/classes/lib/Bitrix/Handler/deliveries.php(77): Ip in /var/www/kssmarket.ru/htdocs/bitrix/modules/main/lib/db/mysqliconnection.php on line 137