Title: DOMDocument error
Last modified: August 20, 2016

---

# DOMDocument error

 *  Resolved [jackdougherty](https://wordpress.org/support/users/jackdougherty/)
 * (@jackdougherty)
 * [15 years ago](https://wordpress.org/support/topic/domdocument-error/)
 * Thanks for fixing the last two issues I raised by releasing Zotpress 4.2.2, which
   we’re now running on our WP 3.1.1 site.
 * However, the [sample page](http://cowriting.trincoll.edu/zotero/zotpress/) that
   was working last week now displays a nasty-lookin’ DOMDocument error:
 * `Warning: DOMDocument::loadXML(): Start tag expected, '<' not found in Entity,
   line: 1 in /var/www/cowriting/wp-content/plugins/zotpress/zotpress.shortcode.
   php on line 209 Warning: DOMDocument::loadXML(): Start tag expected, '<' not 
   found in Entity, line: 1 in /var/www/cowriting/wp-content/plugins/zotpress/zotpress.
   shortcode.php on line 221 Warning: asort() expects parameter 1 to be array, null
   given in /var/www/cowriting/wp-content/plugins/zotpress/zotpress.shortcode.php
   on line 42 Warning: Invalid argument supplied for foreach() in /var/www/cowriting/
   wp-content/plugins/zotpress/zotpress.shortcode.php on line 45 Warning: Invalid
   argument supplied for foreach() in /var/www/cowriting/wp-content/plugins/zotpress/
   zotpress.shortcode.php on line 341`
 * We may have a server issue here — is that what you suspect?
    thanks

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [doctorproctor](https://wordpress.org/support/users/doctorproctor/)
 * (@doctorproctor)
 * [15 years ago](https://wordpress.org/support/topic/domdocument-error/#post-2094998)
 * Yes, I’m having the same issue (error code below). I see [in other posts](http://wordpress.org/support/topic/grabbing-citations-failed-load-xml-problem?replies=7)
   that it may be a timeout issue with my host, and I haven’t a clue as to what 
   to ask Bluehost to do to help me fix it!
 * Thanks…Jim
 * ***
 * Warning: DOMDocument::loadXML() [domdocument.loadxml]: Start tag expected, ‘<‘
   not found in Entity, line: 1 in /home6/envirolc/public_html/wp/wp-content/plugins/
   zotpress/zotpress.shortcode.php on line 209
 * Warning: DOMDocument::loadXML() [domdocument.loadxml]: Start tag expected, ‘<‘
   not found in Entity, line: 1 in /home6/envirolc/public_html/wp/wp-content/plugins/
   zotpress/zotpress.shortcode.php on line 221
 *  Plugin Author [Katie](https://wordpress.org/support/users/kseaborn/)
 * (@kseaborn)
 * [15 years ago](https://wordpress.org/support/topic/domdocument-error/#post-2095015)
 * I’m currently troubleshooting this issue … I’ve come across it too.
 * **Edit:** I can trigger this error when the Zotero server sends back a blank 
   page (e.g. by requesting 95 citations), which makes sense (the error says it 
   can’t find the ‘<‘ start tag). So unfortunately this looks to be a problem on
   the Zotero server itself.
 * I can try to set up a friendlier error message, but other than that, I’m not 
   sure what to suggest. You can try emptying the cache and refreshing the page 
   and hope the Zotero request gets through the server.
 *  Plugin Author [Katie](https://wordpress.org/support/users/kseaborn/)
 * (@kseaborn)
 * [15 years ago](https://wordpress.org/support/topic/domdocument-error/#post-2095021)
 * I just released Zotpress 4.2.3, which provides a more friendly error message 
   AND a way to selectively delete the cache and try making the Zotero request again.
 *  [doctorproctor](https://wordpress.org/support/users/doctorproctor/)
 * (@doctorproctor)
 * [15 years ago](https://wordpress.org/support/topic/domdocument-error/#post-2095022)
 * Thank you! This has worked for me; will be in touch if more questions.
 * Jim

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘DOMDocument error’ is closed to new replies.

 * ![](https://ps.w.org/zotpress/assets/icon-256x256.png?rev=1995512)
 * [Zotpress](https://wordpress.org/plugins/zotpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/zotpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/zotpress/)
 * [Active Topics](https://wordpress.org/support/plugin/zotpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/zotpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/zotpress/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [doctorproctor](https://wordpress.org/support/users/doctorproctor/)
 * Last activity: [15 years ago](https://wordpress.org/support/topic/domdocument-error/#post-2095022)
 * Status: resolved