[TypeError] 
Argument 1 passed to Bitrix\Sale\Discount\Analyzer::canCalculateSeparately() must be of the type array, null given, called in /home/bitrix/www/bitrix/modules/sale/lib/internals/discount.php on line 408 (0)
/home/bitrix/www/bitrix/modules/sale/lib/discount/analyzer.php:77
#0: Bitrix\Sale\Discount\Analyzer->canCalculateSeparately(NULL)
	/home/bitrix/www/bitrix/modules/sale/lib/internals/discount.php:408
#1: Bitrix\Sale\Internals\DiscountTable::resolveExecuteModeByDiscountId(array)
	/home/bitrix/www/bitrix/modules/sale/lib/internals/discount.php:518
#2: Bitrix\Sale\Internals\DiscountTable::onAfterUpdate(object)
	
#3: call_user_func_array(array, array)
	/home/bitrix/www/bitrix/modules/main/lib/entity/event.php:118
#4: Bitrix\Main\Entity\Event->send()
	/home/bitrix/www/bitrix/modules/main/lib/entity/datamanager.php:905
#5: Bitrix\Main\Entity\DataManager::update(array, array)
	/home/bitrix/www/bitrix/modules/sale/general/discount.php:1195
#6: CAllSaleDiscount::Update(integer, array)
	/home/bitrix/www/bitrix/modules/redsign.quickbuy/classes/mysql/quickbuy.php:422
#7: CRSQUICKBUYElements::Update(integer, array, boolean, boolean)
	/home/bitrix/www/bitrix/modules/redsign.quickbuy/classes/mysql/quickbuy.php:460
#8: CRSQUICKBUYElements::CheckAutoRenewal()
	/home/bitrix/www/bitrix/modules/redsign.quickbuy/classes/general/main.php:16
#9: CRSQUICKBUYMain::OnBeforePrologElementUpdate()
	/home/bitrix/www/bitrix/modules/main/classes/general/module.php:490
#10: ExecuteModuleEventEx(array)
	/home/bitrix/www/bitrix/modules/main/include.php:568
#11: require_once(string)
	/home/bitrix/www/bitrix/modules/main/include/prolog_before.php:14
#12: require_once(string)
	/home/bitrix/www/bitrix/modules/main/include/prolog.php:10
#13: require_once(string)
	/home/bitrix/www/bitrix/header.php:1
#14: require(string)
	/home/bitrix/www/catalog/index.php:2
#15: include_once(string)
	/home/bitrix/www/bitrix/modules/main/include/urlrewrite.php:159
#16: include_once(string)
	/home/bitrix/www/bitrix/urlrewrite.php:2