[Error] 
Call to a member function asXML() on bool (0)
/home/bitrix/www/sitemap.xml.php:238
#0: include_once
	/home/bitrix/www/bitrix/modules/main/include/urlrewrite.php:159
#1: include_once(string)
	/home/bitrix/www/bitrix/urlrewrite.php:2