Closed (fixed)
Project:
Activity Stream
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
29 Jul 2008 at 19:23 UTC
Updated:
16 Aug 2008 at 07:10 UTC
Hi
I'm trying to add my own contrib module, and have used the twitter one as a basis, copying the files and changing the code where appropriate.
However, when running cron I come across this problem:
* warning: Invalid argument supplied for foreach() in [baseurl]/sites/[sitename]/modules/activitystream/activitystream_twitter/activitystream_twitter.module on line 20.
* warning: Invalid argument supplied for foreach() in [baseurl]/sites/[sitename]/modules/activitystream/activitystream_mycontrib/activitystream_mycontrib.module on line 20.
Can anyone help, please?
Comments
Comment #1
sirkitree commentedplease attach some code and then we can help you better
Comment #2
B747 commentedComment #3
akalsey commentedIf you're using the 1.1 release of Activity Stream, you shouldn't see that issue. An early beta threw that error when the server a feed was on couldn't be reached.
Comment #4
akalsey commentedNo response from reporter for two weeks. Closing