[Error] 
Call to a member function GetID() on null (0)
/home/bitrix/www/bitrix/modules/sale/general/order.php:2550
#0: CAllSaleOrder::StatusOrder(integer, string)
	/home/bitrix/www/bitrix/php_interface/init.php:570
#1: CustomCheckStatusFinalOrder()
	/home/bitrix/www/bitrix/modules/main/classes/mysql/agent.php(161) : eval()'d code:1
#2: eval
	/home/bitrix/www/bitrix/modules/main/classes/mysql/agent.php:161
#3: CAgent::ExecuteAgents(string)
	/home/bitrix/www/bitrix/modules/main/classes/mysql/agent.php:38
#4: CAgent::CheckAgents()
	/home/bitrix/www/bitrix/modules/main/include.php:1
#5: require_once(string)
	/home/bitrix/www/bitrix/modules/main/include/prolog_before.php:14
#6: require_once(string)
	/home/bitrix/www/bitrix/modules/main/include/prolog.php:10
#7: require_once(string)
	/home/bitrix/www/bitrix/header.php:1
#8: require(string)
	/home/bitrix/www/catalog/index.php:1
#9: include_once(string)
	/home/bitrix/www/bitrix/modules/main/include/urlrewrite.php:159
#10: include_once(string)
	/home/bitrix/www/bitrix/urlrewrite.php:2