[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`.`FUSER_ID` AS `FUSER_ID`,
	`sale_internals_basket`.`ORDER_ID` AS `ORDER_ID`,
	`sale_internals_basket`.`PRODUCT_ID` AS `PRODUCT_ID`,
	`sale_internals_basket`.`PRODUCT_PRICE_ID` AS `PRODUCT_PRICE_ID`,
	`sale_internals_basket`.`NAME` AS `NAME`,
	`sale_internals_basket`.`PRICE` AS `PRICE`,
	`sale_internals_basket`.`CURRENCY` AS `CURRENCY`,
	`sale_internals_basket`.`BASE_PRICE` AS `BASE_PRICE`,
	`sale_internals_basket`.`VAT_INCLUDED` AS `VAT_INCLUDED`,
	`sale_internals_basket`.`DATE_INSERT` AS `DATE_INSERT`,
	`sale_internals_basket`.`DATE_UPDATE` AS `DATE_UPDATE`,
	`sale_internals_basket`.`WEIGHT` AS `WEIGHT`,
	`sale_internals_basket`.`QUANTITY` AS `QUANTITY`,
	`sale_internals_basket`.`DELAY` AS `DELAY`,
	`sale_internals_basket`.`CAN_BUY` AS `CAN_BUY`,
	`sale_internals_basket`.`MODULE` AS `MODULE`,
	`sale_internals_basket`.`PRODUCT_PROVIDER_CLASS` AS `PRODUCT_PROVIDER_CLASS`,
	`sale_internals_basket`.`NOTES` AS `NOTES`,
	`sale_internals_basket`.`DETAIL_PAGE_URL` AS `DETAIL_PAGE_URL`,
	`sale_internals_basket`.`DISCOUNT_PRICE` AS `DISCOUNT_PRICE`,
	`sale_internals_basket`.`CATALOG_XML_ID` AS `CATALOG_XML_ID`,
	`sale_internals_basket`.`PRODUCT_XML_ID` AS `PRODUCT_XML_ID`,
	`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`.`VAT_RATE` AS `VAT_RATE`,
	`sale_internals_basket`.`SUBSCRIBE` AS `SUBSCRIBE`,
	`sale_internals_basket`.`RESERVED` AS `RESERVED`,
	`sale_internals_basket`.`RESERVE_QUANTITY` AS `RESERVE_QUANTITY`,
	`sale_internals_basket`.`BARCODE_MULTI` AS `BARCODE_MULTI`,
	`sale_internals_basket`.`CUSTOM_PRICE` AS `CUSTOM_PRICE`,
	`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`.`MEASURE_CODE` AS `MEASURE_CODE`,
	`sale_internals_basket`.`MEASURE_NAME` AS `MEASURE_NAME`,
	`sale_internals_basket`.`CALLBACK_FUNC` AS `CALLBACK_FUNC`,
	`sale_internals_basket`.`ORDER_CALLBACK_FUNC` AS `ORDER_CALLBACK_FUNC`,
	`sale_internals_basket`.`CANCEL_CALLBACK_FUNC` AS `CANCEL_CALLBACK_FUNC`,
	`sale_internals_basket`.`PAY_CALLBACK_FUNC` AS `PAY_CALLBACK_FUNC`,
	`sale_internals_basket`.`RECOMMENDATION` AS `RECOMMENDATION`,
	`sale_internals_basket`.`SORT` AS `SORT`
FROM `b_sale_basket` `sale_internals_basket` 

WHERE (`sale_internals_basket`.`FUSER_ID` IS NULL OR `sale_internals_basket`.`FUSER_ID` = 0)
AND (`sale_internals_basket`.`ORDER_ID` IS NULL OR `sale_internals_basket`.`ORDER_ID` = 0)
AND UPPER(`sale_internals_basket`.`LID`) like upper('s1')
AND UPPER(`sale_internals_basket`.`CAN_BUY`) like upper('Y')
AND UPPER(`sale_internals_basket`.`DELAY`) like upper('N')
/var/www/cogito/data/www/cogito-shop.com/bitrix/modules/main/lib/db/mysqliconnection.php:137
#0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL)
	/var/www/cogito/data/www/cogito-shop.com/bitrix/modules/main/lib/db/connection.php:329
#1: Bitrix\Main\DB\Connection->query(string)
	/var/www/cogito/data/www/cogito-shop.com/bitrix/modules/main/lib/entity/query.php:1924
#2: Bitrix\Main\Entity\Query->query(string)
	/var/www/cogito/data/www/cogito-shop.com/bitrix/modules/main/lib/entity/query.php:505
#3: Bitrix\Main\Entity\Query->exec()
	/var/www/cogito/data/www/cogito-shop.com/bitrix/modules/main/lib/entity/datamanager.php:256
#4: Bitrix\Main\Entity\DataManager::getList(array)
	/var/www/cogito/data/www/cogito-shop.com/bitrix/modules/sale/lib/basket.php:1156
#5: Bitrix\Sale\Basket::getList(array)
	/var/www/cogito/data/www/cogito-shop.com/bitrix/modules/sale/lib/basketcomponenthelper.php:206
#6: Bitrix\Sale\BasketComponentHelper::getFUserBasketList(integer, string)
	/var/www/cogito/data/www/cogito-shop.com/bitrix/modules/sale/lib/basketcomponenthelper.php:121
#7: Bitrix\Sale\BasketComponentHelper::updateFUserBasketPrice(integer, string)
	/var/www/cogito/data/www/cogito-shop.com/bitrix/modules/sale/lib/basketcomponenthelper.php:63
#8: Bitrix\Sale\BasketComponentHelper::getFUserBasketPrice(integer, string)
	/var/www/cogito/data/www/cogito-shop.com/bitrix/components/bitrix/sale.basket.basket.line/class.php:200
#9: SaleBasketLineComponent->executeComponent()
	/var/www/cogito/data/www/cogito-shop.com/bitrix/modules/main/classes/general/component.php:585
#10: CBitrixComponent->includeComponent(string, array, boolean)
	/var/www/cogito/data/www/cogito-shop.com/bitrix/modules/main/classes/general/main.php:1035
#11: CAllMain->IncludeComponent(string, string, array, boolean, array)
	/var/www/cogito/data/www/cogito-shop.com/bitrix/templates/cogito_17.02/header.php:75
#12: include_once(string)
	/var/www/cogito/data/www/cogito-shop.com/bitrix/modules/main/include/prolog_after.php:96
#13: require(string)
	/var/www/cogito/data/www/cogito-shop.com/bitrix/modules/main/include/prolog.php:11
#14: require_once(string)
	/var/www/cogito/data/www/cogito-shop.com/bitrix/header.php:1
#15: require(string)
	/var/www/cogito/data/www/cogito-shop.com/catalog/index.php:2
#16: include_once(string)
	/var/www/cogito/data/www/cogito-shop.com/bitrix/modules/main/include/urlrewrite.php:159
#17: include_once(string)
	/var/www/cogito/data/www/cogito-shop.com/bitrix/urlrewrite.php:2