TopSql(" SELECT C.AMOUNT, C.AMOUNT_CNT, CR.RATE, CR.RATE_CNT FROM b_catalog_currency C LEFT JOIN b_catalog_currency_rate CR ON ( C.CURRENCY = CR.CURRENCY AND CR.DATE_RATE < '".$DB->ForSql($valDate)."' AND CR.BASE_CURRENCY = '".$DB->ForSql($baseCurrency)."' ) WHERE C.CURRENCY = '".$DB->ForSql($cur)."' ORDER BY DATE_RATE DESC ", 1); $db_res = $DB->Query($strSql, false, "File: ".__FILE__."
Line: ".__LINE__); return $db_res->Fetch(); } }
[Error] 
Class 'CCurrencyRates' not found (0)
/srv/www/magnifico.su/htdocs/bitrix/modules/currency/lib/currencymanager.php:313
#0: Bitrix\Currency\CurrencyManager::updateBaseRates()
	/srv/www/magnifico.su/htdocs/bitrix/modules/currency/lib/currencymanager.php:288
#1: Bitrix\Currency\CurrencyManager::currencyBaseRateAgent()
	/srv/www/magnifico.su/htdocs/bitrix/modules/main/classes/mysql/agent.php(162) : eval()'d code:1
#2: eval
	/srv/www/magnifico.su/htdocs/bitrix/modules/main/classes/mysql/agent.php:162
#3: CAgent::ExecuteAgents(string)
	/srv/www/magnifico.su/htdocs/bitrix/modules/main/classes/mysql/agent.php:40
#4: CAgent::CheckAgents()
	/srv/www/magnifico.su/htdocs/bitrix/modules/main/include.php:1
#5: require_once(string)
	/srv/www/magnifico.su/htdocs/bitrix/modules/main/include/prolog_before.php:14
#6: require_once(string)
	/srv/www/magnifico.su/htdocs/bitrix/modules/main/include/prolog.php:10
#7: require_once(string)
	/srv/www/magnifico.su/htdocs/bitrix/header.php:1
#8: require(string)
	/srv/www/magnifico.su/htdocs/index.php:1