[Bitrix\Main\DB\SqlQueryException] 
Mysql query error: (2006) MySQL server has gone away (400)
SELECT 
	`sale_internals_basket`.`ID` AS `ID`,
	`sale_internals_basket`.`LID` AS `LID`,
	`sale_internals_basket`.`MODULE` AS `MODULE`,
	`sale_internals_basket`.`PRODUCT_ID` AS `PRODUCT_ID`,
	`sale_internals_basket`.`QUANTITY` AS `QUANTITY`,
	`sale_internals_basket`.`WEIGHT` AS `WEIGHT`,
	`sale_internals_basket`.`DELAY` AS `DELAY`,
	`sale_internals_basket`.`CAN_BUY` AS `CAN_BUY`,
	`sale_internals_basket`.`PRICE` AS `PRICE`,
	`sale_internals_basket`.`CUSTOM_PRICE` AS `CUSTOM_PRICE`,
	`sale_internals_basket`.`BASE_PRICE` AS `BASE_PRICE`,
	`sale_internals_basket`.`PRODUCT_PRICE_ID` AS `PRODUCT_PRICE_ID`,
	`sale_internals_basket`.`PRICE_TYPE_ID` AS `PRICE_TYPE_ID`,
	`sale_internals_basket`.`CURRENCY` AS `CURRENCY`,
	`sale_internals_basket`.`BARCODE_MULTI` AS `BARCODE_MULTI`,
	`sale_internals_basket`.`RESERVED` AS `RESERVED`,
	`sale_internals_basket`.`RESERVE_QUANTITY` AS `RESERVE_QUANTITY`,
	`sale_internals_basket`.`NAME` AS `NAME`,
	`sale_internals_basket`.`CATALOG_XML_ID` AS `CATALOG_XML_ID`,
	`sale_internals_basket`.`VAT_RATE` AS `VAT_RATE`,
	`sale_internals_basket`.`NOTES` AS `NOTES`,
	`sale_internals_basket`.`DISCOUNT_PRICE` AS `DISCOUNT_PRICE`,
	`sale_internals_basket`.`PRODUCT_PROVIDER_CLASS` AS `PRODUCT_PROVIDER_CLASS`,
	`sale_internals_basket`.`CALLBACK_FUNC` AS `CALLBACK_FUNC`,
	`sale_internals_basket`.`ORDER_CALLBACK_FUNC` AS `ORDER_CALLBACK_FUNC`,
	`sale_internals_basket`.`PAY_CALLBACK_FUNC` AS `PAY_CALLBACK_FUNC`,
	`sale_internals_basket`.`CANCEL_CALLBACK_FUNC` AS `CANCEL_CALLBACK_FUNC`,
	`sale_internals_basket`.`DIMENSIONS` AS `DIMENSIONS`,
	`sale_internals_basket`.`TYPE` AS `TYPE`,
	`sale_internals_basket`.`SET_PARENT_ID` AS `SET_PARENT_ID`,
	`sale_internals_basket`.`DETAIL_PAGE_URL` AS `DETAIL_PAGE_URL`,
	`sale_internals_basket`.`FUSER_ID` AS `FUSER_ID`,
	`sale_internals_basket`.`MEASURE_CODE` AS `MEASURE_CODE`,
	`sale_internals_basket`.`MEASURE_NAME` AS `MEASURE_NAME`,
	`sale_internals_basket`.`ORDER_ID` AS `ORDER_ID`,
	`sale_internals_basket`.`DATE_INSERT` AS `DATE_INSERT`,
	`sale_internals_basket`.`DATE_UPDATE` AS `DATE_UPDATE`,
	`sale_internals_basket`.`PRODUCT_XML_ID` AS `PRODUCT_XML_ID`,
	`sale_internals_basket`.`SUBSCRIBE` AS `SUBSCRIBE`,
	`sale_internals_basket`.`RECOMMENDATION` AS `RECOMMENDATION`,
	`sale_internals_basket`.`VAT_INCLUDED` AS `VAT_INCLUDED`,
	`sale_internals_basket`.`SORT` AS `SORT`,
	`sale_internals_basket`.`DATE_REFRESH` AS `DATE_REFRESH`,
	`sale_internals_basket`.`DISCOUNT_NAME` AS `DISCOUNT_NAME`,
	`sale_internals_basket`.`DISCOUNT_VALUE` AS `DISCOUNT_VALUE`,
	`sale_internals_basket`.`DISCOUNT_COUPON` AS `DISCOUNT_COUPON`,
	`sale_internals_basket`.`XML_ID` AS `XML_ID`,
	`sale_internals_basket`.`MARKING_CODE_GROUP` AS `MARKING_CODE_GROUP`
FROM `b_sale_basket` `sale_internals_basket` 
WHERE `sale_internals_basket`.`FUSER_ID` = 640556
AND `sale_internals_basket`.`LID` = 's1'
AND (`sale_internals_basket`.`ORDER_ID` IS NULL OR `sale_internals_basket`.`ORDER_ID` = 0)
ORDER BY `SORT` ASC, `ID` ASC
/home/bitrix/ext_www/moscow-beton.ru/bitrix/modules/main/lib/db/mysqliconnection.php:137
#0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL)
	/home/bitrix/ext_www/moscow-beton.ru/bitrix/modules/main/lib/db/connection.php:330
#1: Bitrix\Main\DB\Connection->query(string)
	/home/bitrix/ext_www/moscow-beton.ru/bitrix/modules/main/lib/orm/query/query.php:3209
#2: Bitrix\Main\ORM\Query\Query->query(string)
	/home/bitrix/ext_www/moscow-beton.ru/bitrix/modules/main/lib/orm/query/query.php:807
#3: Bitrix\Main\ORM\Query\Query->exec()
	/home/bitrix/ext_www/moscow-beton.ru/bitrix/modules/main/lib/orm/data/datamanager.php:500
#4: Bitrix\Main\ORM\Data\DataManager::getList(array)
	/home/bitrix/ext_www/moscow-beton.ru/bitrix/modules/sale/lib/basket.php:39
#5: Bitrix\Sale\Basket::getList(array)
	/home/bitrix/ext_www/moscow-beton.ru/bitrix/modules/sale/lib/basketbase.php:154
#6: Bitrix\Sale\BasketBase->loadFromDb(array)
	/home/bitrix/ext_www/moscow-beton.ru/bitrix/modules/sale/lib/basketbase.php:119
#7: Bitrix\Sale\BasketBase::loadItemsForFUser(integer, string)
	/home/bitrix/ext_www/moscow-beton.ru/bitrix/components/bitrix/sale.basket.basket.line/class.php:262
#8: SaleBasketLineComponent->getProducts()
	/home/bitrix/ext_www/moscow-beton.ru/bitrix/components/bitrix/sale.basket.basket.line/class.php:210
#9: SaleBasketLineComponent->executeComponent()
	/home/bitrix/ext_www/moscow-beton.ru/bitrix/modules/main/classes/general/component.php:638
#10: CBitrixComponent->includeComponent(string, array, NULL)
	/home/bitrix/ext_www/moscow-beton.ru/bitrix/modules/main/classes/general/main.php:1039
#11: CAllMain->IncludeComponent(string, string, array)
	/home/bitrix/ext_www/moscow-beton.ru/bitrix/modules/aspro.max/classes/general/CMax.php:6807
#12: CMax::SetJSOptions()
	/home/bitrix/ext_www/moscow-beton.ru/bitrix/templates/aspro_max/header.php:36
#13: include_once(string)
	/home/bitrix/ext_www/moscow-beton.ru/bitrix/modules/main/include/prolog_after.php:106
#14: require(string)
	/home/bitrix/ext_www/moscow-beton.ru/bitrix/modules/main/include/prolog.php:11
#15: require_once(string)
	/home/bitrix/ext_www/moscow-beton.ru/bitrix/header.php:1
#16: require(string)
	/home/bitrix/ext_www/moscow-beton.ru/catalog/index.php:1
#17: include_once(string)
	/home/bitrix/ext_www/moscow-beton.ru/bitrix/modules/main/include/urlrewrite.php:159
#18: include_once(string)
	/home/bitrix/ext_www/moscow-beton.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/moscow-beton.ru/bitrix/modules/main/lib/db/mysqliconnection.php:137 Stack trace: #0 /home/bitrix/ext_www/moscow-beton.ru/bitrix/modules/main/lib/db/mysqlcommonconnection.php(140): Bitrix\Main\DB\MysqliConnection->queryInternal('SELECT * FROM `...') #1 /home/bitrix/ext_www/moscow-beton.ru/bitrix/modules/main/lib/db/connection.php(779): Bitrix\Main\DB\MysqlCommonConnection->getTableFields('b_sec_session') #2 /home/bitrix/ext_www/moscow-beton.ru/bitrix/modules/main/lib/db/sqlhelper.php(406): Bitrix\Main\DB\Connection->getTableField('b_sec_session', 'SESSION_ID') #3 /home/bitrix/ext_www/moscow-beton.ru/bitrix/modules/main/lib/orm/data/datamanager.php(1624): Bitrix\Main\DB\SqlHelper->prepareAssignment('b_sec_session', 'SESSION_ID', '85hwA2TmRvpuOE2...') #4 /home/bitrix/ext_www/moscow-beton.ru/bitrix/modules/security/classes/general/session_db.php(92): Bitrix\Main\ORM\Data\DataManager::delete(Arra in /home/bitrix/ext_www/moscow-beton.ru/bitrix/modules/main/lib/db/mysqliconnection.php on line 137