[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`
FROM `b_sale_basket` `sale_internals_basket` 

WHERE `sale_internals_basket`.`FUSER_ID` = 1530181
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/admin/web/berghoffworldwide.ru/public_html/bitrix/modules/main/lib/db/mysqliconnection.php:137
#0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL)
	/home/admin/web/berghoffworldwide.ru/public_html/bitrix/modules/main/lib/db/connection.php:330
#1: Bitrix\Main\DB\Connection->query(string)
	/home/admin/web/berghoffworldwide.ru/public_html/bitrix/modules/main/lib/orm/query/query.php:3137
#2: Bitrix\Main\ORM\Query\Query->query(string)
	/home/admin/web/berghoffworldwide.ru/public_html/bitrix/modules/main/lib/orm/query/query.php:806
#3: Bitrix\Main\ORM\Query\Query->exec()
	/home/admin/web/berghoffworldwide.ru/public_html/bitrix/modules/main/lib/orm/data/datamanager.php:407
#4: Bitrix\Main\ORM\Data\DataManager::getList(array)
	/home/admin/web/berghoffworldwide.ru/public_html/bitrix/modules/sale/lib/basket.php:103
#5: Bitrix\Sale\Basket::getList(array)
	/home/admin/web/berghoffworldwide.ru/public_html/bitrix/modules/sale/lib/basket.php:61
#6: Bitrix\Sale\Basket->loadFromDb(array)
	/home/admin/web/berghoffworldwide.ru/public_html/bitrix/modules/sale/lib/basketbase.php:125
#7: Bitrix\Sale\BasketBase::loadItemsForFUser(integer, string)
	/home/admin/web/berghoffworldwide.ru/public_html/local/templates/berghoff/header.php:29
#8: include_once(string)
	/home/admin/web/berghoffworldwide.ru/public_html/bitrix/modules/main/include/prolog_after.php:96
#9: require(string)
	/home/admin/web/berghoffworldwide.ru/public_html/bitrix/modules/main/include/prolog.php:11
#10: require_once(string)
	/home/admin/web/berghoffworldwide.ru/public_html/bitrix/header.php:1
#11: require(string)
	/home/admin/web/berghoffworldwide.ru/public_html/catalog/index.php:2
#12: include_once(string)
	/home/admin/web/berghoffworldwide.ru/public_html/bitrix/modules/main/include/urlrewrite.php:159
#13: include_once(string)
	/home/admin/web/berghoffworldwide.ru/public_html/bitrix/urlrewrite.php:2

Fatal error: Uncaught Bitrix\Main\DB\SqlQueryException: Mysql query error: (2006) MySQL server has gone away in /home/admin/web/berghoffworldwide.ru/public_html/bitrix/modules/main/lib/db/mysqliconnection.php:137 Stack trace: #0 /home/admin/web/berghoffworldwide.ru/public_html/bitrix/modules/main/lib/db/connection.php(330): Bitrix\Main\DB\MysqliConnection->queryInternal('SELECT \n\t`sale_...', Array, NULL) #1 /home/admin/web/berghoffworldwide.ru/public_html/bitrix/modules/main/lib/orm/query/query.php(3137): Bitrix\Main\DB\Connection->query('SELECT \n\t`sale_...') #2 /home/admin/web/berghoffworldwide.ru/public_html/bitrix/modules/main/lib/orm/query/query.php(806): Bitrix\Main\ORM\Query\Query->query('SELECT \n\t`sale_...') #3 /home/admin/web/berghoffworldwide.ru/public_html/bitrix/modules/main/lib/orm/data/datamanager.php(407): Bitrix\Main\ORM\Query\Query->exec() #4 /home/admin/web/berghoffworldwide.ru/public_html/bitrix/modules/ipol.yadost/classes/general/CIPOLYadostHelper.php(70): Bitrix\Main\ORM\Data\DataManager::getList in /home/admin/web/berghoffworldwide.ru/public_html/bitrix/modules/main/lib/db/mysqliconnection.php on line 137