Hi,
The error come from the function PubMedAPI::load_xml_from_url.
I got this error regularly on my website that use your class, it's really good so thank you, but I can't seems to figure this error out. I suppose that it is returning this error when the pubmed api is returning a 404 or any other webpage and not XML, maybe when the website is down, but how can I prevent simplexml_load_string to not failed if it is not and XML.
Thanks.