[Error] 
Call to a member function GetUserGroupArray() on null (0)
/home/bitrix/www/bitrix/modules/main/classes/general/main.php:3646
#0: CAllSite::InGroup(array)
	/home/bitrix/www/local/classes/ma/main/handlers.php:36
#1: MA\Main\Handlers::changeOrderUserEmailTemplate(string, string, array, string, array, string)
	/home/bitrix/www/bitrix/modules/main/classes/general/module.php:475
#2: ExecuteModuleEventEx(array, array)
	/home/bitrix/www/bitrix/modules/main/classes/general/event.php:63
#3: CAllEvent::Send(string, string, array)
	/home/bitrix/www/bitrix/modules/statistic/stat_tools.php:939
#4: SendDailyStatistics()
	/home/bitrix/www/bitrix/modules/main/classes/mysql/agent.php(162) : eval()'d code:1
#5: eval
	/home/bitrix/www/bitrix/modules/main/classes/mysql/agent.php:162
#6: CAgent::ExecuteAgents(string)
	/home/bitrix/www/bitrix/modules/main/classes/mysql/agent.php:40
#7: CAgent::CheckAgents()
	/home/bitrix/www/bitrix/modules/main/include.php:271
#8: require_once(string)
	/home/bitrix/www/bitrix/modules/main/include/prolog_before.php:14
#9: require_once(string)
	/home/bitrix/www/bitrix/modules/main/include/prolog.php:10
#10: require_once(string)
	/home/bitrix/www/bitrix/header.php:1
#11: require(string)
	/home/bitrix/www/catalog/index.php:1
#12: include_once(string)
	/home/bitrix/www/bitrix/modules/main/include/urlrewrite.php:159
#13: include_once(string)
	/home/bitrix/www/bitrix/urlrewrite.php:2