Active
Project:
FeedAPI
Version:
6.x-1.x-dev
Component:
Code parser_common
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Aug 2010 at 17:28 UTC
Updated:
3 Dec 2010 at 11:34 UTC
Wehn trying to run cron, I'm getting a fatal error:
WD php: Recoverable fatal error: Object of class stdClass could not be converted to string in[error]
_parser_common_syndication_download() (line 394 of
/var/www/site.com/drupal/sites/all/modules/feedapi/parser_common_syndication/pa rser_common_syndication.module).
Warning: Cannot modify header information - headers already sent by (output started at /var/www/site.com/drush/includes/drush.inc:812) in /var/www/site.com/drupal/includes/bootstrap.inc on line 883
I'm using drush to debug cron since the fatal error doesn't give me the information through the browser. If I run cron twice in a row, it normally goes through, but it won't if it only runs once. Anyone else seen this issue before?
Comments
Comment #1
alfaguru commentedHi, yes, I saw this problem this morning. Checking the logic, it would appear that $downloaded_string can be either an object or a string at this point, so it must be allowed for.
As a trial solution I have inserted the following at line 393: