[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` = 9980061
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
/var/www/az111.ru/data/www/az111.ru/bitrix/modules/main/lib/db/mysqliconnection.php:137
#0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL)
	/var/www/az111.ru/data/www/az111.ru/bitrix/modules/main/lib/db/connection.php:330
#1: Bitrix\Main\DB\Connection->query(string)
	/var/www/az111.ru/data/www/az111.ru/bitrix/modules/main/lib/orm/query/query.php:3306
#2: Bitrix\Main\ORM\Query\Query->query(string)
	/var/www/az111.ru/data/www/az111.ru/bitrix/modules/main/lib/orm/query/query.php:817
#3: Bitrix\Main\ORM\Query\Query->exec()
	/var/www/az111.ru/data/www/az111.ru/bitrix/modules/main/lib/orm/data/datamanager.php:500
#4: Bitrix\Main\ORM\Data\DataManager::getList(array)
	/var/www/az111.ru/data/www/az111.ru/bitrix/modules/sale/lib/basket.php:39
#5: Bitrix\Sale\Basket::getList(array)
	/var/www/az111.ru/data/www/az111.ru/bitrix/modules/sale/lib/basketbase.php:152
#6: Bitrix\Sale\BasketBase->loadFromDb(array)
	/var/www/az111.ru/data/www/az111.ru/bitrix/modules/sale/lib/basketbase.php:118
#7: Bitrix\Sale\BasketBase::loadItemsForFUser(integer, string)
	/var/www/az111.ru/data/www/az111.ru/bitrix/components/bitrix/sale.basket.basket.line/class.php:299
#8: SaleBasketLineComponent->getProducts()
	/var/www/az111.ru/data/www/az111.ru/bitrix/components/bitrix/sale.basket.basket.line/class.php:211
#9: SaleBasketLineComponent->executeComponent()
	/var/www/az111.ru/data/www/az111.ru/bitrix/modules/main/classes/general/component.php:649
#10: CBitrixComponent->includeComponent(string, array, NULL)
	/var/www/az111.ru/data/www/az111.ru/bitrix/modules/main/classes/general/main.php:1039
#11: CAllMain->IncludeComponent(string, string, array)
	/var/www/az111.ru/data/www/az111.ru/bitrix/modules/aspro.next/classes/general/CNext.php:4162
#12: CNext::SetJSOptions()
	/var/www/az111.ru/data/www/az111.ru/local/templates/aspro_next/header.php:134
#13: include_once(string)
	/var/www/az111.ru/data/www/az111.ru/bitrix/modules/main/include/prolog_after.php:106
#14: require(string)
	/var/www/az111.ru/data/www/az111.ru/bitrix/modules/main/include/prolog.php:11
#15: require_once(string)
	/var/www/az111.ru/data/www/az111.ru/bitrix/header.php:1
#16: require(string)
	/var/www/az111.ru/data/www/az111.ru/catalog/index.php:1
#17: include_once(string)
	/var/www/az111.ru/data/www/az111.ru/bitrix/modules/main/include/urlrewrite.php:159
#18: include_once(string)
	/var/www/az111.ru/data/www/az111.ru/bitrix/urlrewrite.php:2