Фильтр масляный для ТО на Scion

[Error] 
Call to a member function GetID() on null (0)
/home/bitrix/www/bitrix/modules/main/classes/general/user.php:4182
#0: CAllUser->CanDoOperation(string)
	/home/bitrix/www/bitrix/modules/main/include/epilog_after.php:19
#1: require(string)
	/home/bitrix/www/bitrix/modules/main/include/epilog.php:3
#2: require_once(string)
	/home/bitrix/www/bitrix/footer.php:4
#3: require(string)
	/home/bitrix/www/to/index.php:67
#4: include_once(string)
	/home/bitrix/www/bitrix/modules/main/include/urlrewrite.php:159
#5: include_once(string)
	/home/bitrix/www/bitrix/urlrewrite.php:2