[Bitrix\Main\DB\SqlQueryException] 
Mysql query error: (2006) MySQL server has gone away (400)
SELECT 
	`sale_internals_basket`.`ID` AS `ID`
FROM `b_sale_basket` `sale_internals_basket` 

WHERE `sale_internals_basket`.`FUSER_ID` = 5406881
AND `sale_internals_basket`.`LID` = 's1'
AND (`sale_internals_basket`.`ORDER_ID` IS NULL OR `sale_internals_basket`.`ORDER_ID` = 0)
/home/bitrix/ext_www/mamazin.by/bitrix/modules/main/lib/db/mysqliconnection.php:137
#0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL)
	/home/bitrix/ext_www/mamazin.by/bitrix/modules/main/lib/db/connection.php:330
#1: Bitrix\Main\DB\Connection->query(string)
	/home/bitrix/ext_www/mamazin.by/bitrix/modules/main/lib/entity/query.php:3038
#2: Bitrix\Main\Entity\Query->query(string)
	/home/bitrix/ext_www/mamazin.by/bitrix/modules/main/lib/entity/query.php:797
#3: Bitrix\Main\Entity\Query->exec()
	/home/bitrix/ext_www/mamazin.by/bitrix/modules/sale/lib/compatible/compatible.php:593
#4: Bitrix\Sale\Compatible\OrderQuery->compatibleExec(object, NULL)
	/home/bitrix/ext_www/mamazin.by/bitrix/modules/sale/lib/compatible/internals/entitycompatibility.php:476
#5: Bitrix\Sale\Compatible\Internals\EntityCompatibility->execute()
	/home/bitrix/ext_www/mamazin.by/bitrix/modules/sale/lib/compatible/internals/entitycompatibility.php:150
#6: Bitrix\Sale\Compatible\Internals\EntityCompatibility::setGetListParameters(object, boolean, array, boolean, boolean, array, boolean)
	/home/bitrix/ext_www/mamazin.by/bitrix/modules/sale/lib/compatible/internals/entitycompatibility.php:98
#7: Bitrix\Sale\Compatible\Internals\EntityCompatibility::getList(boolean, array, boolean, boolean, array)
	/home/bitrix/ext_www/mamazin.by/bitrix/modules/sale/mysql/basket.php:61
#8: CSaleBasket::GetList(boolean, array, boolean, boolean, array)
	/home/bitrix/ext_www/mamazin.by/local/templates/prokids_custom/header.php:16
#9: include_once(string)
	/home/bitrix/ext_www/mamazin.by/bitrix/modules/main/include/prolog_after.php:96
#10: require(string)
	/home/bitrix/ext_www/mamazin.by/bitrix/modules/main/include/prolog.php:11
#11: require_once(string)
	/home/bitrix/ext_www/mamazin.by/bitrix/header.php:1
#12: require(string)
	/home/bitrix/ext_www/mamazin.by/catalog/index.php:3
#13: include_once(string)
	/home/bitrix/ext_www/mamazin.by/bitrix/modules/main/include/urlrewrite.php:159
#14: include_once(string)
	/home/bitrix/ext_www/mamazin.by/bitrix/urlrewrite.php:2