[Error] 
Call to a member function IsAdmin() on null (0)
/home/bitrix/www/local/php_interface/functions.php:21
#0: p(integer)
	/home/bitrix/www/local/php_interface/functions.php:305
#1: pages_prices_update()
	/home/bitrix/www/local/php_interface/functions_tophouse.php:98
#2: agent_update_pagesprices()
	/home/bitrix/www/bitrix/modules/main/classes/mysql/agent.php(161) : eval()'d code:1
#3: eval
	/home/bitrix/www/bitrix/modules/main/classes/mysql/agent.php:161
#4: CAgent::ExecuteAgents(string)
	/home/bitrix/www/bitrix/modules/main/classes/mysql/agent.php:38
#5: CAgent::CheckAgents()
	/home/bitrix/www/bitrix/modules/main/include.php:286
#6: require_once(string)
	/home/bitrix/www/bitrix/modules/main/include/prolog_before.php:13
#7: require_once(string)
	/home/bitrix/www/bitrix/modules/main/include/prolog.php:10
#8: require_once(string)
	/home/bitrix/www/bitrix/header.php:1
#9: require(string)
	/home/bitrix/www/catalog/index.php:2
#10: include_once(string)
	/home/bitrix/www/bitrix/modules/main/include/urlrewrite.php:159
#11: include_once(string)
	/home/bitrix/www/bitrix/urlrewrite.php:2