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

sirkitree’s picture

please attach some code and then we can help you better

B747’s picture

Project: Activity » Activity Stream
Version: 5.x-3.0-beta2 » 5.x-1.x-dev
Component: Activity Contrib » Code
akalsey’s picture

Status: Active » Postponed (maintainer needs more info)

If 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.

akalsey’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

No response from reporter for two weeks. Closing