Closed (fixed)
Project:
Activity Stream
Version:
5.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
20 May 2008 at 23:04 UTC
Updated:
3 Jun 2008 at 23:14 UTC
When a stream that's based on activitystream_feed.module can't be fetched, the cron job results in an error.
warning: Invalid argument supplied for foreach() in modules/activitystream/activitystream_twitter/activitystream_twitter.module on line 20
This is especially a problem with services that are regularly down, like Twitter.
Comments
Comment #1
akalsey commentedThis is fixed in CVS. The issue is that if the feed module couldn't fetch a feed, it returned null. The dependent modules assume the return value is an array, resulting in an error. The fix is to return an empty array if a feed can't be fetched.
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.