[Error] 
Call to a member function IsAuthorized() on null (0)
/home/bitrix/www/local/modules/pervomaster.store/lib/User.php:188
#0: Pervomaster\Store\User::SetCity(integer)
	/home/bitrix/www/local/modules/pervomaster.store/include.php:303
#1: include_once(string)
	/home/bitrix/www/bitrix/modules/main/lib/loader.php:184
#2: Bitrix\Main\Loader::includeModuleInternal(string)
	/home/bitrix/www/bitrix/modules/main/lib/loader.php:140
#3: Bitrix\Main\Loader::includeModule(string)
	/home/bitrix/www/local/php_interface/init.php:5
#4: include_once(string)
	/home/bitrix/www/bitrix/modules/main/include.php:246
#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:2
#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