[Bitrix\Main\DB\SqlQueryException] Mysql query error: (2006) MySQL server has gone away (400) SELECT 1 FROM `b_sale_basket` `sale_internals_basket` WHERE `sale_internals_basket`.`FUSER_ID` = 53366214 AND `sale_internals_basket`.`LID` = 's1' AND (`sale_internals_basket`.`ORDER_ID` IS NULL OR `sale_internals_basket`.`ORDER_ID` = 0) /home/bitrix/www/bitrix/modules/main/lib/db/mysqliconnection.php:137 #0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL) /home/bitrix/www/bitrix/modules/main/lib/db/connection.php:330 #1: Bitrix\Main\DB\Connection->query(string) /home/bitrix/www/bitrix/modules/main/lib/orm/query/query.php:3193 #2: Bitrix\Main\ORM\Query\Query->query(string) /home/bitrix/www/bitrix/modules/main/lib/orm/query/query.php:806 #3: Bitrix\Main\ORM\Query\Query->exec() /home/bitrix/www/bitrix/modules/sale/lib/compatible/internals/entitycompatibility.php:485 #4: Bitrix\Sale\Compatible\Internals\EntityCompatibility->execute() /home/bitrix/www/bitrix/modules/sale/lib/compatible/internals/entitycompatibility.php:162 #5: Bitrix\Sale\Compatible\Internals\EntityCompatibility::setGetListParameters(object, array, array, array, boolean, array, boolean) /home/bitrix/www/bitrix/modules/sale/lib/compatible/internals/entitycompatibility.php:110 #6: Bitrix\Sale\Compatible\Internals\EntityCompatibility::getList(array, array, array, boolean, array) /home/bitrix/www/bitrix/modules/sale/mysql/basket.php:61 #7: CSaleBasket::GetList(array, array, array) /home/bitrix/www/local/php_interface/include/AsproRewriteFunction.php:1912 #8: flirtshopGetUserBasketItemsCount() /home/bitrix/www/local/templates/aspro_next/page_blocks/footer_mobile_custom.php:9 #9: require(string) /home/bitrix/www/local/templates/aspro_next/header.php:298 #10: include_once(string) /home/bitrix/www/bitrix/modules/main/include/prolog_after.php:106 #11: require(string) /home/bitrix/www/bitrix/modules/main/include/prolog.php:11 #12: require_once(string) /home/bitrix/www/bitrix/header.php:2 #13: require(string) /home/bitrix/www/catalog/index.php:3 #14: include(string) /home/bitrix/www/regionality/rewrite.php:160