Fatal error: Call to a member function __toArray() on a non-object in /home/bitrix/www/bitrix/modules/main/classes/general/xml.php on line 370