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