no scusa mi da questo errore:

Catchable fatal error: Object of class DOMNodeList could not be converted to string