[Bitrix\Main\DB\SqlQueryException] 
Mysql query error: (2006) MySQL server has gone away (400)
SELECT 
	`sale_internals_basket`.`ID` AS `ID`,
	`sale_internals_basket`.`NAME` AS `NAME`,
	`sale_internals_basket`.`CALLBACK_FUNC` AS `CALLBACK_FUNC`,
	`sale_internals_basket`.`MODULE` AS `MODULE`,
	`sale_internals_basket`.`PRODUCT_ID` AS `PRODUCT_ID`,
	`sale_internals_basket`.`QUANTITY` AS `QUANTITY`,
	`sale_internals_basket`.`DELAY` AS `DELAY`,
	`sale_internals_basket`.`CAN_BUY` AS `CAN_BUY`,
	`sale_internals_basket`.`PRICE` AS `PRICE`,
	`sale_internals_basket`.`WEIGHT` AS `WEIGHT`,
	`sale_internals_basket`.`DETAIL_PAGE_URL` AS `DETAIL_PAGE_URL`,
	`sale_internals_basket`.`CURRENCY` AS `CURRENCY`,
	`sale_internals_basket`.`VAT_RATE` AS `VAT_RATE`,
	`sale_internals_basket`.`CATALOG_XML_ID` AS `CATALOG_XML_ID`,
	`sale_internals_basket`.`MEASURE_NAME` AS `MEASURE_NAME`,
	`sale_internals_basket`.`PRODUCT_XML_ID` AS `PRODUCT_XML_ID`,
	`sale_internals_basket`.`SUBSCRIBE` AS `SUBSCRIBE`,
	`sale_internals_basket`.`DISCOUNT_PRICE` AS `DISCOUNT_PRICE`,
	`sale_internals_basket`.`PRODUCT_PROVIDER_CLASS` AS `PRODUCT_PROVIDER_CLASS`,
	`sale_internals_basket`.`TYPE` AS `TYPE`,
	`sale_internals_basket`.`SET_PARENT_ID` AS `SET_PARENT_ID`,
	`sale_internals_basket`.`BASE_PRICE` AS `BASE_PRICE`,
	`sale_internals_basket`.`PRODUCT_PRICE_ID` AS `PRODUCT_PRICE_ID`,
	`sale_internals_basket`.`CUSTOM_PRICE` AS `CUSTOM_PRICE`
FROM `b_sale_basket` `sale_internals_basket` 

WHERE `sale_internals_basket`.`FUSER_ID` = 3500488
AND `sale_internals_basket`.`LID` = 's1'
AND (`sale_internals_basket`.`ORDER_ID` IS NULL OR `sale_internals_basket`.`ORDER_ID` = 0)
AND `sale_internals_basket`.`CAN_BUY` = 'Y'
ORDER BY `NAME` ASC, `ID` ASC
/home/bitrix/ext_www/elitstroy.by/bitrix/modules/main/lib/db/mysqliconnection.php:137
#0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL)
	/home/bitrix/ext_www/elitstroy.by/bitrix/modules/main/lib/db/connection.php:330
#1: Bitrix\Main\DB\Connection->query(string)
	/home/bitrix/ext_www/elitstroy.by/bitrix/modules/main/lib/orm/query/query.php:3193
#2: Bitrix\Main\ORM\Query\Query->query(string)
	/home/bitrix/ext_www/elitstroy.by/bitrix/modules/main/lib/orm/query/query.php:806
#3: Bitrix\Main\ORM\Query\Query->exec()
	/home/bitrix/ext_www/elitstroy.by/bitrix/modules/sale/lib/compatible/compatible.php:601
#4: Bitrix\Sale\Compatible\OrderQuery->compatibleExec(object, NULL)
	/home/bitrix/ext_www/elitstroy.by/bitrix/modules/sale/lib/compatible/internals/entitycompatibility.php:488
#5: Bitrix\Sale\Compatible\Internals\EntityCompatibility->execute()
	/home/bitrix/ext_www/elitstroy.by/bitrix/modules/sale/lib/compatible/internals/entitycompatibility.php:162
#6: Bitrix\Sale\Compatible\Internals\EntityCompatibility::setGetListParameters(object, array, array, boolean, boolean, array, boolean)
	/home/bitrix/ext_www/elitstroy.by/bitrix/modules/sale/lib/compatible/internals/entitycompatibility.php:110
#7: Bitrix\Sale\Compatible\Internals\EntityCompatibility::getList(array, array, boolean, boolean, array)
	/home/bitrix/ext_www/elitstroy.by/bitrix/modules/sale/mysql/basket.php:61
#8: CSaleBasket::GetList(array, array, boolean, boolean, array)
	/home/bitrix/ext_www/elitstroy.by/local/components/slam/easybasket/class.php:539
#9: SlamBasketComponent->getProducts()
	/home/bitrix/ext_www/elitstroy.by/local/components/slam/easybasket/class.php:377
#10: SlamBasketComponent->executeComponent()
	/home/bitrix/ext_www/elitstroy.by/bitrix/modules/main/classes/general/component.php:638
#11: CBitrixComponent->includeComponent(string, array, boolean)
	/home/bitrix/ext_www/elitstroy.by/bitrix/modules/main/classes/general/main.php:1038
#12: CAllMain->IncludeComponent(string, string, array, boolean)
	/home/bitrix/ext_www/elitstroy.by/local/templates/html/header.php:269
#13: include_once(string)
	/home/bitrix/ext_www/elitstroy.by/bitrix/modules/main/include/prolog_after.php:106
#14: require(string)
	/home/bitrix/ext_www/elitstroy.by/bitrix/modules/main/include/prolog.php:11
#15: require_once(string)
	/home/bitrix/ext_www/elitstroy.by/bitrix/header.php:1
#16: require(string)
	/home/bitrix/ext_www/elitstroy.by/katalog/index.php:2
#17: include_once(string)
	/home/bitrix/ext_www/elitstroy.by/bitrix/modules/main/include/urlrewrite.php:159
#18: include_once(string)
	/home/bitrix/ext_www/elitstroy.by/404.php:2

Fatal error: Uncaught Bitrix\Main\DB\SqlQueryException: Mysql query error: (2006) MySQL server has gone away in /home/bitrix/ext_www/elitstroy.by/bitrix/modules/main/lib/db/mysqliconnection.php:137 Stack trace: #0 /home/bitrix/ext_www/elitstroy.by/bitrix/modules/main/lib/db/mysqlcommonconnection.php(140): Bitrix\Main\DB\MysqliConnection->queryInternal('SELECT * FROM `...') #1 /home/bitrix/ext_www/elitstroy.by/bitrix/modules/main/lib/db/connection.php(779): Bitrix\Main\DB\MysqlCommonConnection->getTableFields('b_sec_session') #2 /home/bitrix/ext_www/elitstroy.by/bitrix/modules/main/lib/db/sqlhelper.php(406): Bitrix\Main\DB\Connection->getTableField('b_sec_session', 'SESSION_ID') #3 /home/bitrix/ext_www/elitstroy.by/bitrix/modules/main/lib/orm/data/datamanager.php(1590): Bitrix\Main\DB\SqlHelper->prepareAssignment('b_sec_session', 'SESSION_ID', 'tg1i7rn6hU24C6V...') #4 /home/bitrix/ext_www/elitstroy.by/bitrix/modules/security/classes/general/session_db.php(92): Bitrix\Main\ORM\Data\DataManager::delete(Array) #5 [internal fu in /home/bitrix/ext_www/elitstroy.by/bitrix/modules/main/lib/db/mysqliconnection.php on line 137