[Error] 
Call to a member function IsAuthorized() on null (0)
/home/bitrix/www/bitrix/modules/main/classes/general/main.php:3499
#0: CAllMain::PrologActions()
	/home/bitrix/www/bitrix/modules/main/include/prolog_before.php:16
#1: require(string)
	/home/bitrix/www/bitrix/php_interface/include/sale_delivery/delivery_grastincurier.php:5
#2: require_once(string)
	/home/bitrix/www/bitrix/modules/sale/lib/delivery/services/automatic.php:456
#3: Bitrix\Sale\Delivery\Services\Automatic::initHandlers()
	/home/bitrix/www/bitrix/modules/sale/lib/delivery/services/automatic.php:475
#4: Bitrix\Sale\Delivery\Services\Automatic::getRegisteredHandlers(string)
	/home/bitrix/www/bitrix/modules/sale/lib/delivery/services/automatic.php:43
#5: Bitrix\Sale\Delivery\Services\Automatic->__construct(array)
	/home/bitrix/www/bitrix/modules/sale/lib/delivery/services/manager.php:365
#6: Bitrix\Sale\Delivery\Services\Manager::createObject(array)
	/home/bitrix/www/bitrix/modules/sale/lib/delivery/services/objectpool.php:45
#7: Bitrix\Sale\Delivery\Services\ObjectPool->createObject(integer, array)
	/home/bitrix/www/bitrix/modules/sale/lib/delivery/services/objectpool.php:31
#8: Bitrix\Sale\Delivery\Services\ObjectPool->getObject(array)
	/home/bitrix/www/bitrix/modules/sale/lib/delivery/services/manager.php:402
#9: Bitrix\Sale\Delivery\Services\Manager::getPooledObject(array)
	/home/bitrix/www/bitrix/modules/sale/lib/delivery/services/manager.php:421
#10: Bitrix\Sale\Delivery\Services\Manager::getObjectById(string)
	/home/bitrix/www/bitrix/modules/sale/lib/shipment.php:1073
#11: Bitrix\Sale\Shipment->loadDeliveryService()
	/home/bitrix/www/bitrix/modules/sale/lib/shipment.php:1058
#12: Bitrix\Sale\Shipment->getDelivery()
	/home/bitrix/www/bitrix/modules/sale/lib/shipment.php:2202
#13: Bitrix\Sale\Shipment->getVatRate()
	/home/bitrix/www/bitrix/modules/sale/lib/orderbase.php:640
#14: Bitrix\Sale\OrderBase->refreshVat()
	/home/bitrix/www/bitrix/modules/sale/lib/orderbase.php:565
#15: Bitrix\Sale\OrderBase->isUsedVat()
	/home/bitrix/www/bitrix/modules/sale/lib/order.php:2903
#16: Bitrix\Sale\Order->refreshOrderPrice()
	/home/bitrix/www/bitrix/modules/sale/lib/order.php:2859
#17: Bitrix\Sale\Order->applyDiscount(array)
	/home/bitrix/www/bitrix/modules/sale/lib/order.php:3221
#18: Bitrix\Sale\Order->doFinalAction(boolean)
	/home/bitrix/www/bitrix/modules/sale/lib/compatible/ordercompatibility.php:1766
#19: Bitrix\Sale\Compatible\OrderCompatibility::modifyOrder(string, array)
	/home/bitrix/www/bitrix/modules/sale/lib/compatible/ordercompatibility.php:1608
#20: Bitrix\Sale\Compatible\OrderCompatibility::update(integer, array, boolean)
	/home/bitrix/www/bitrix/modules/sale/mysql/order.php:169
#21: CSaleOrder::Update(integer, array)
	/home/bitrix/www/bitrix/php_interface/classes/grastin_classes.php:466
#22: CGrastinStatusUpdater::updateOrderStatus()
	/home/bitrix/www/bitrix/modules/main/classes/mysql/agent.php(161) : eval()'d code:1
#23: eval
	/home/bitrix/www/bitrix/modules/main/classes/mysql/agent.php:161
#24: CAgent::ExecuteAgents(string)
	/home/bitrix/www/bitrix/modules/main/classes/mysql/agent.php:38
#25: CAgent::CheckAgents()
	/home/bitrix/www/bitrix/modules/main/include.php:262
#26: require_once(string)
	/home/bitrix/www/bitrix/modules/main/include/prolog_before.php:14
#27: require_once(string)
	/home/bitrix/www/bitrix/modules/main/include/prolog.php:10
#28: require_once(string)
	/home/bitrix/www/bitrix/header.php:1
#29: require(string)
	/home/bitrix/ext_www/iq-child.ru/brands/index.php:2
#30: include_once(string)
	/home/bitrix/www/bitrix/modules/main/include/urlrewrite.php:159
#31: include_once(string)
	/home/bitrix/www/bitrix/urlrewrite.php:2