[wp-hackers] DOMDocument in plugin

Todd Iceton todd at wpaudio.com
Tue Sep 22 01:57:09 UTC 2009

Oops... left that part out!

The same line, and all DOMDocument functionality, are working outside of 
WP.  Also tried on multiple WP installs (2.8.4 and 2.5) with the same 

No entries in the server error log.



Austin Matzko wrote:
> 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?
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers

More information about the wp-hackers mailing list