[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`.`PRODUCT_ID` AS `PRODUCT_ID`,
	`sale_internals_basket`.`QUANTITY` AS `QUANTITY`,
	`sale_internals_basket`.`CAN_BUY` AS `CAN_BUY`,
	`sale_internals_basket`.`PRICE` AS `PRICE`,
	`sale_internals_basket`.`BASE_PRICE` AS `BASE_PRICE`,
	`sale_internals_basket`.`DISCOUNT_PRICE` AS `DISCOUNT_PRICE`,
	`sale_internals_basket`.`PRODUCT_XML_ID` AS `PRODUCT_XML_ID`
FROM `b_sale_basket` `sale_internals_basket` 

WHERE `sale_internals_basket`.`FUSER_ID` = 84286634
AND `sale_internals_basket`.`LID` = 'ao'
AND (`sale_internals_basket`.`ORDER_ID` IS NULL OR `sale_internals_basket`.`ORDER_ID` = 0)
ORDER BY `NAME` ASC, `ID` ASC
/home/bitrix/core/asna-website/bitrix/modules/main/lib/db/mysqliconnection.php:137
#0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL)
	/home/bitrix/core/asna-website/bitrix/modules/main/lib/db/connection.php:330
#1: Bitrix\Main\DB\Connection->query(string)
	/home/bitrix/core/asna-website/bitrix/modules/main/lib/entity/query.php:3038
#2: Bitrix\Main\Entity\Query->query(string)
	/home/bitrix/core/asna-website/bitrix/modules/main/lib/entity/query.php:797
#3: Bitrix\Main\Entity\Query->exec()
	/home/bitrix/core/asna-website/bitrix/modules/sale/lib/compatible/compatible.php:593
#4: Bitrix\Sale\Compatible\OrderQuery->compatibleExec(object, NULL)
	/home/bitrix/core/asna-website/bitrix/modules/sale/lib/compatible/internals/entitycompatibility.php:476
#5: Bitrix\Sale\Compatible\Internals\EntityCompatibility->execute()
	/home/bitrix/core/asna-website/bitrix/modules/sale/lib/compatible/internals/entitycompatibility.php:150
#6: Bitrix\Sale\Compatible\Internals\EntityCompatibility::setGetListParameters(object, array, array, boolean, boolean, array, boolean)
	/home/bitrix/core/asna-website/bitrix/modules/sale/lib/compatible/internals/entitycompatibility.php:98
#7: Bitrix\Sale\Compatible\Internals\EntityCompatibility::getList(array, array, boolean, boolean, array)
	/home/bitrix/core/asna-website/bitrix/modules/sale/mysql/basket.php:61
#8: CSaleBasket::GetList(array, array, boolean, boolean, array)
	/home/bitrix/www/aptekaonline_new/local/php_interface/init.php:2402
#9: getUserCartProducts()
	/home/bitrix/www/aptekaonline_new/local/EventHandlers/Main/OnBeforeProlog.php:20
#10: Alterego\EventHandlers\Main\OnBeforeProlog::updateUsersCartFromDelayedPreorder()
	/home/bitrix/core/asna-website/bitrix/modules/main/classes/general/module.php:475
#11: ExecuteModuleEventEx(array)
	/home/bitrix/core/asna-website/bitrix/modules/main/include.php:565
#12: require_once(string)
	/home/bitrix/core/asna-website/bitrix/modules/main/include/prolog_before.php:14
#13: require_once(string)
	/home/bitrix/core/asna-website/bitrix/modules/main/include/prolog.php:10
#14: require_once(string)
	/home/bitrix/core/asna-website/bitrix/header.php:1
#15: require(string)
	/home/bitrix/www/aptekaonline_new/mnn/index.php:1
#16: include_once(string)
	/home/bitrix/core/asna-website/bitrix/modules/main/include/urlrewrite.php:159
#17: include_once(string)
	/home/bitrix/core/asna-website/bitrix/urlrewrite.php:2