Рассчитать рассрочку

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

WHERE `sale_internals_basket`.`FUSER_ID` = 4749008
AND `sale_internals_basket`.`LID` = 's1'
AND (`sale_internals_basket`.`ORDER_ID` IS NULL OR `sale_internals_basket`.`ORDER_ID` = 0)
ORDER BY `sale_internals_basket`.`NAME` ASC, `ID` ASC
/home/bitrix/ext_www/asgr.pro/bitrix/modules/main/lib/db/mysqliconnection.php:137
#0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL)
	/home/bitrix/ext_www/asgr.pro/bitrix/modules/main/lib/db/connection.php:330
#1: Bitrix\Main\DB\Connection->query(string)
	/home/bitrix/ext_www/asgr.pro/bitrix/modules/main/lib/orm/query/query.php:3190
#2: Bitrix\Main\ORM\Query\Query->query(string)
	/home/bitrix/ext_www/asgr.pro/bitrix/modules/main/lib/orm/query/query.php:806
#3: Bitrix\Main\ORM\Query\Query->exec()
	/home/bitrix/ext_www/asgr.pro/bitrix/modules/sale/lib/compatible/compatible.php:596
#4: Bitrix\Sale\Compatible\OrderQuery->compatibleExec(object, NULL)
	/home/bitrix/ext_www/asgr.pro/bitrix/modules/sale/lib/compatible/internals/entitycompatibility.php:488
#5: Bitrix\Sale\Compatible\Internals\EntityCompatibility->execute()
	/home/bitrix/ext_www/asgr.pro/bitrix/modules/sale/lib/compatible/internals/entitycompatibility.php:162
#6: Bitrix\Sale\Compatible\Internals\EntityCompatibility::setGetListParameters(object, array, array, boolean, boolean, array, boolean)
	/home/bitrix/ext_www/asgr.pro/bitrix/modules/sale/lib/compatible/internals/entitycompatibility.php:110
#7: Bitrix\Sale\Compatible\Internals\EntityCompatibility::getList(array, array, boolean, boolean, array)
	/home/bitrix/ext_www/asgr.pro/bitrix/modules/sale/mysql/basket.php:61
#8: CSaleBasket::GetList(array, array, boolean, boolean, array)
	/home/bitrix/ext_www/asgr.pro/basket/basket.php:83
#9: include(string)
	/home/bitrix/ext_www/asgr.pro/bitrix/modules/main/classes/general/main.php:1365
#10: CAllMain->IncludeFile(string)
	/home/bitrix/ext_www/asgr.pro/bitrix/templates/abat/header.php:106
#11: include_once(string)
	/home/bitrix/ext_www/asgr.pro/bitrix/modules/main/include/prolog_after.php:106
#12: require(string)
	/home/bitrix/ext_www/asgr.pro/bitrix/modules/main/include/prolog.php:13
#13: require_once(string)
	/home/bitrix/ext_www/asgr.pro/bitrix/header.php:1
#14: require(string)
	/home/bitrix/ext_www/asgr.pro/catalog/index.php:2
#15: include_once(string)
	/home/bitrix/ext_www/asgr.pro/bitrix/modules/main/include/urlrewrite.php:159
#16: include_once(string)
	/home/bitrix/ext_www/asgr.pro/bitrix/urlrewrite.php:2