Errors are appearing in the log from CRON runs:
Invalid argument supplied for foreach() in /home/ACCOUNT/public_html/modules/googlebase/includes/googlebase_batch.inc on line 65.
SimpleXMLElement::xpath() [simplexmlelement.xpath]: Undefined namespace prefix in /home/ACCOUNT/public_html/modules/googlebase/includes/googlebase_batch.inc on line 65.
Comments
Comment #1
AlexisWilke commentedI got an error too, in the same file. Actually, this is an exception. I think we should catch those so if the XML is invalid, we can report it in the watchdog rather than the output of cron.php.
Thank you.
Alexis
Fatal error: Uncaught exception 'Exception' with message 'String could not be parsed as XML' in /usr/clients/www_html/new.m2osw.com/public_html/sites/all/modules/googlebase/includes/googlebase_batch.inc:56
Stack trace:
#0 /usr/clients/www_html/new.m2osw.com/public_html/sites/all/modules/googlebase/includes/googlebase_batch.inc(56): SimpleXMLElement->__construct('')
#1 /usr/clients/www_html/new.m2osw.com/public_html/sites/all/modules/googlebase/googlebase.module(586): googlebase_batch->execute()
#2 [internal function]: googlebase_cron()
#3 /usr/clients/www_html/new.m2osw.com/public_html/includes/module.inc(483): call_user_func_array('googlebase_cron', Array)
#4 /usr/clients/www_html/new.m2osw.com/public_html/includes/common.inc(2702): module_invoke_all('cron')
#5 /usr/clients/www_html/new.m2osw.com/public_html/cron.php(11): drupal_cron_run()
#6 {main}
thrown in /usr/clients/www_html/new.m2osw.com/public_html/sites/all/modules/googlebase/includes/googlebase_batch.inc on line 56
Comment #2
rjperry25 commentedDo e have any solutions for this error? I'm getting the same problem.
* warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: Entity: line 1: parser error : Start tag expected, '<' not found in /home/sites/tapsandshowers2go.co.uk/public_html/modules/googlebase/includes/googlebase_item.inc on line 60.
* warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: The entity "nbsp" was referenced, but not declared. in /home/sites/tapsandshowers2go.co.uk/public_html/modules/googlebase/includes/googlebase_item.inc on line 60.
* warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: ^ in /home/sites/tapsandshowers2go.co.uk/public_html/modules/googlebase/includes/googlebase_item.inc on line 60.