I'm getting emails from cPanel on many cron runs like the following:
<br />
<b>Fatal error</b>: Cannot use object of type stdClass as array in <b>/path/to/site/profiles/managingnews/modules/contrib/feeds/libraries/common_syndication_parser.inc</b> on line <b>276</b><br />This only started happening after I upgraded to beta 6.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | mn_rdf10_beta8.patch | 2.03 KB | frega |
Comments
Comment #1
frega commentedI can reproduce this with beta8 and RSS-1.0 feeds. I've attached a patch (against beta8); it feels a little hacky (all that casting from object to array and vice versa), but fixes the issue for me; i've kept the structure of the "$parsed_source"-array identical to that _parser_common_syndication_RSS20_parse() - hth, but i know far too little about feeds and MN to know whether this has any side-effects, though.
Comment #2
alex_b commentedgeerlingguy: does #1 fix the issue you reported?
Comment #3
alex_b commented#701390: Fix RSS 1.0 parsing and add basic test framework for common_syndication_parser and this issue are duplicates. #4 needs to be reconciled with #701390-4: Fix RSS 1.0 parsing and add basic test framework for common_syndication_parser and vice versa.
Comment #4
frega commentedoops, sorry, did not see that this was part of Feeds rather than MN - i'll switch over to the other bug to resolve the issue.
Comment #5
alex_b commented#4: Thank you for quick response. This is a duplicate then.