[Error] 
Call to a member function IsAuthorized() on null (0)
/var/www/bitrix/data/www/lovemarket.net/bitrix/modules/skyweb24.loyaltyprogram/lib/profiles/profile.php:350
#0: Skyweb24\Loyaltyprogram\Profiles\Profile->getChainReferal(string)
	/var/www/bitrix/data/www/lovemarket.net/bitrix/modules/skyweb24.loyaltyprogram/lib/profiles/ordering.php:2291
#1: Skyweb24\Loyaltyprogram\Profiles\Ordering->checkConditionGroup(array)
	/var/www/bitrix/data/www/lovemarket.net/bitrix/modules/skyweb24.loyaltyprogram/lib/profiles/ordering.php:328
#2: Skyweb24\Loyaltyprogram\Profiles\Ordering->setBonus(object)
	/var/www/bitrix/data/www/lovemarket.net/bitrix/modules/skyweb24.loyaltyprogram/lib/eventmanager.php:433
#3: Skyweb24\Loyaltyprogram\Eventmanager::orderBonusAdd(object)
	
#4: call_user_func_array(array, array)
	/var/www/bitrix/data/www/lovemarket.net/bitrix/modules/main/lib/eventmanager.php:435
#5: Bitrix\Main\EventManager->sendToEventHandler(array, object)
	/var/www/bitrix/data/www/lovemarket.net/bitrix/modules/main/lib/eventmanager.php:371
#6: Bitrix\Main\EventManager->send(object)
	/var/www/bitrix/data/www/lovemarket.net/bitrix/modules/main/lib/event.php:142
#7: Bitrix\Main\Event->send()
	/var/www/bitrix/data/www/lovemarket.net/bitrix/modules/sale/lib/orderbase.php:1374
#8: Bitrix\Sale\OrderBase->callEventOnSaleOrderSaved()
	/var/www/bitrix/data/www/lovemarket.net/bitrix/modules/sale/lib/order.php:2490
#9: Bitrix\Sale\Order->callEventOnSaleOrderSaved()
	/var/www/bitrix/data/www/lovemarket.net/bitrix/modules/sale/lib/orderbase.php:1147
#10: Bitrix\Sale\OrderBase->save()
	/var/www/bitrix/data/www/lovemarket.net/bitrix/modules/sale/lib/order.php:2341
#11: Bitrix\Sale\Order->save()
	/var/www/bitrix/data/www/lovemarket.net/bitrix/modules/sale/lib/delivery/tracking/manager.php:595
#12: Bitrix\Sale\Delivery\Tracking\Manager->processStatusChange(array)
	/var/www/bitrix/data/www/lovemarket.net/bitrix/modules/sale/lib/delivery/tracking/manager.php:347
#13: Bitrix\Sale\Delivery\Tracking\Manager::startRefreshingStatuses()
	/var/www/bitrix/data/www/lovemarket.net/bitrix/modules/main/classes/mysql/agent.php(162) : eval()'d code:1
#14: eval
	/var/www/bitrix/data/www/lovemarket.net/bitrix/modules/main/classes/mysql/agent.php:162
#15: CAgent::ExecuteAgents(string)
	/var/www/bitrix/data/www/lovemarket.net/bitrix/modules/main/classes/mysql/agent.php:40
#16: CAgent::CheckAgents()
	/var/www/bitrix/data/www/lovemarket.net/bitrix/modules/main/include.php:271
#17: require_once(string)
	/var/www/bitrix/data/www/lovemarket.net/bitrix/modules/main/include/prolog_before.php:14
#18: require_once(string)
	/var/www/bitrix/data/www/lovemarket.net/bitrix/modules/main/include/prolog.php:10
#19: require_once(string)
	/var/www/bitrix/data/www/lovemarket.net/bitrix/header.php:1
#20: require(string)
	/var/www/bitrix/data/www/lovemarket.net/catalog/index.php:2
#21: include_once(string)
	/var/www/bitrix/data/www/lovemarket.net/bitrix/modules/main/include/urlrewrite.php:159
#22: include_once(string)
	/var/www/bitrix/data/www/lovemarket.net/bitrix/urlrewrite.php:2