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