If the collection is set to try PuSH but collected data isn't (valid) XML SimpleXMLElement($data) throws an exception which isn't caught.
PHP Fatal error: Uncaught exception 'Exception' with message 'String could not be parsed as XML' in /var/www/html/drupal/contrib-6/feeds/libraries/PuSHSubscriber.inc:79\nStack trace:\n#0 /var/www/html/drupal/contrib-6/feeds/libraries/PuSHSubscriber.inc(79)...
I've just wrapped it in a try/catch without really doing anything with the exception (basic patch in a sec)... not sure if it should do more.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ekes’s picture

alex_b’s picture

Status: Active » Reviewed & tested by the community

Thank you, ekes. This is looking good.

alex_b’s picture

Status: Reviewed & tested by the community » Fixed
FileSize
1.65 KB

Committed. Thank you. Attached the slightly modified patch that got committed.

http://drupal.org/cvs?commit=336042
http://github.com/lxbarth/PuSHSubscriber/commit/53602944240743599cde3b54...

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.