This is a great module but I have yet to ever get any of the OG streams to work properly. I have tried this on several different production sites all with clean installs. I am using the latest dev and noticed the new stream additions (e.g. membersactivity, singleactivity, etc). The one I'm primarily interested in using is the Members Activity stream.
- Fresh Install
- Heartbeat 7.x-1.x-dev and OG 7.x-2.x-dev
- Create a group
- Add the 'membersactivity' stream to the page. I've tried adding it via the context module, panels, and loading it as a block using display suite. Using context and panels simply nothing appears in the area where I've added the stream. When attempting to load it via display suite I get the following error:
Notice: Undefined property: stdClass::$content in ds_render_block_field() (line 1100 of /www/sites/all/modules/ds/ds.module).
If I try to use the 'groupactivity' stream as block in context I get the following error:
Notice: Trying to get property of non-object in GroupActivity->detectGroup() (line 36 of /www/sites/all/modules/heartbeat/modules/heartbeat_og/streams/groupactivity.inc).
I'm a huge fan of this module but I think many other people have had trouble getting this to work with OG. I have tried on fresh installs with all of the default settings. Any help would be greatly appreciated!
Comments
Comment #1
Sinan Erdem commentedConfirming the problem with the latest release of Heartbeat.
Comment #2
Sinan Erdem commentedRelated issue: #1410956: Integrate with organic group
Comment #3
mrsean commentedHi all,
I was having this problem as well.
I fixed this on my server by hacking
/heartbeat/modules/heartbeat_og/streams/groupactivity.inc
I replaced line 36 ,
with
Perhaps the og_context API changed, so that what gets returned from
on line 34 doesn't contain etid anymore?