[wp-hackers] DOMDocument in plugin

Austin Matzko if.website at gmail.com
Tue Sep 22 01:52:27 UTC 2009

On Mon, Sep 21, 2009 at 8:46 PM, Todd Iceton <todd at wpaudio.com> wrote:
> $wpa_doc = new DOMDocument();
> is totally disrupting WP.  Putting this one line in a plugin file all by
> itself makes WP return a blank page, and putting it in a filter makes output
> cut off right before the content.
> Any ideas as to why this happens or how to use DOMDocument and avoid this
> result?

The XML extensions were introduced to PHP in version 5, so could the
site in question still be running PHP 4?

More information about the wp-hackers mailing list