Warning: Creating default object from empty value in /var/www/maxim/classes/object_loaders/NewsLoader.php on line 13

Fatal error: Uncaught exception 'Exception' with message 'Can't convert property article into a string. It's an ad-hoc object, which doesn't have a __toString method. You might have forgotten to declare the object.' in /var/www/maxim/libraries/maximlib/xml/XmlObject.php:194 Stack trace: #0 /var/www/maxim/libraries/maximlib/xml/XmlObject.php(146): XmlObject->appendVariable('article', Object(stdClass), Object(DOMElement)) #1 /var/www/maxim/libraries/maximlib/xml/XmlObject.php(170): XmlObject->appendToNode(Object(DOMElement), false, 'object_data') #2 /var/www/maxim/libraries/maximlib/xml/XmlObject.php(146): XmlObject->appendVariable('object_data', Object(NewsLoader), Object(DOMElement)) #3 /var/www/maxim/libraries/maximlib/xml/XmlObject.php(294): XmlObject->appendToNode(Object(DOMDocument), false) #4 /var/www/maxim/libraries/maximlib/xml/XmlObject.php(31): XmlObject->toDomDocument() #5 /var/www/maxim/classes/CommonWebpage.php(201): XmlObject->toHtml('/var/www/maxim/...') #6 /var/www/maxim/classes/CommonWebpage.php(41): Commo in /var/www/maxim/libraries/maximlib/xml/XmlObject.php on line 194