Fatal Error (2 posts)

  1. zingerion
    Posted 3 years ago #

    Awesome plugin - been working well since the last update. Saw the below error today on only one of my posts. The error blocked the post from loading. It occurred in all browsers except those where I was a logged in user. I thought perhaps this had to do with caching, because current settings have logged in users not seeing cache. So I changed a minify setting and cleared page cache (W3TC plugin). All appears to be working now. Unfortunately it seems the parsing is perhaps less robust than it should be.

    Fatal error: Uncaught exception 'Exception' with message 'String could not be parsed as XML' in /home/[snip]/wp/wp-content/plugins/kcite/kcite.php:809 Stack trace: #0 /home/[snip]/wp/wp-content/plugins/kcite/kcite.php(809): SimpleXMLElement->__construct('') #1 /home/[snip]/wp/wp-content/plugins/kcite/kcite.php(1066): KCite::parse_xml(Object(Citation)) #2 /home/[snip]/wp/wp-content/plugins/kcite/kcite.php(583): KCite::get_pubmed_metadata(Object(Citation)) #3 /home/[snip]/wp/wp-content/plugins/kcite/kcite.php(331): KCite::resolve_metadata(Array) #4 /home/[snip]/wp/wp-content/plugins/kcite/kcite.php(260): KCite::get_html_bibliography() #5 [internal function]: KCite::bibliography_filter('<div class="soc...') #6 /home/[snip]/wp/wp-includes/plugin.php(173): call_user_func_array(Array, Array) #7 /home/[snip]/wp/wp-includes/post-template.php(166): apply_filters('the_content', 'httpv://www.you...') #8 /home/[snip] in /home/[snip]/wp/wp-content/plugins/kcite/kcite.php on line 809


  2. philliplord
    Plugin Author

    Posted 3 years ago #

    I would need further details, particular the kind of references you have in your article. This would help me to find out what the problem is.

    Having said that, I will attempt to update the XML parsing; it should break cleanly when this happens.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • KCite
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.