I get this in my logs and when I log in

CommentFileSizeAuthor
#6 1541856-6-ds-heartbeat_object.patch1.38 KBpfrenssen

Comments

pfrenssen’s picture

Line 966 of ds.module is this:

    $context = array('entity' => $vars[$object], 'entity_type' => $vars['elements']['#entity_type'], 'bundle' => $vars['elements']['#bundle'], 'view_mode' => $vars['elements']['#view_mode']);

According to your report $object contains 'heartbeat_activity' at this point, but $vars['heartbeat_activity'] does not exist apparently.

Could you add the following line just above line 966 of ds.module and then log in? This will output debug information on the screen. Please save the output in a .txt file and attach it to this issue. After you've done this, make sure to remove the line again.

  if (!isset($vars[$object])) { var_dump($vars); die; }
socialnicheguru’s picture

array(27) { ["elements"]=> array(18) { ["#theme"]=> string(18) "heartbeat_activity" ["#heartbeat_activity"]=> object(HeartbeatActivity)#1034 (36) { ["uaid"]=> string(2) "11" ["message_id"]=> string(22) "heartbeat_edit_account" ["uid"]=> string(1) "1" ["uid_access"]=> bool(true) ["uid_target"]=> int(0) ["nid"]=> int(0) ["cid"]=> int(0) ["nid_access"]=> bool(true) ["nid_target"]=> int(0) ["nid_target_access"]=> bool(true) ["in_group"]=> int(0) ["timestamp"]=> int(1335197351) ["language"]=> string(2) "en" ["message"]=> string(87) "admin's personal account page has been changed." ["message_concat"]=> string(0) "" ["access"]=> int(4) ["variables"]=> array(1) { ["!username"]=> string(45) "admin" } ["attachments"]=> array(0) { } ["additions"]=> object(stdClass)#1031 (0) { } ["index"]=> NULL ["buttons"]=> array(1) { [0]=> string(164) "Delete" } ["classes"]=> string(0) "" ["actor"]=> object(stdClass)#1013 (28) { ["uid"]=> string(1) "1" ["name"]=> string(5) "admin" ["pass"]=> string(55) "" ["mail"]=> string(32) "aegir@devmac.site" ["theme"]=> string(0) "" ["signature"]=> string(0) "" ["signature_format"]=> string(13) "filtered_html" ["created"]=> string(10) "1334878384" ["access"]=> string(10) "1335196923" ["login"]=> string(10) "1335197351" ["status"]=> string(1) "1" ["timezone"]=> string(19) "America/Los_Angeles" ["language"]=> string(0) "" ["picture"]=> NULL ["init"]=> string(32) "aegir@devmac.site" ["data"]=> array(7) { ["overlay"]=> int(0) ["geoip_location"]=> array(12) { ["country"]=> string(0) "" ["country_code"]=> string(0) "" ["region"]=> string(0) "" ["region_code"]=> string(0) "" ["city"]=> string(0) "" ["zip"]=> string(0) "" ["latitude"]=> NULL ["longitude"]=> NULL ["ip_address"]=> string(9) "127.0.0.1" ["timestamp"]=> int(1335196925) ["postal_code"]=> string(0) "" ["formatted_address"]=> string(0) "" } ["contact"]=> int(1) ["mimemail_textonly"]=> int(0) ["user_relationships_ui_auto_approve"]=> array(0) { } ["user_relationship_mailer_send_mail"]=> bool(true) ["user_relationships_allow_private_message"]=> string(12) "on all users" } ["uuid"]=> string(36) "8d7f87b5-a61b-8714-4180-3d837156b759" ["roles"]=> array(2) { [2]=> string(18) "authenticated user" [3]=> string(13) "administrator" } ["field_multiple_email"]=> array(1) { ["und"]=> array(1) { [0]=> array(1) { ["mail"]=> string(32) "aegir@devmac.site" } } } ["field_user_comment_notify"]=> array(0) { } ["metatags"]=> array(0) { } ["rdf_mapping"]=> array(3) { ["rdftype"]=> array(1) { [0]=> string(16) "sioc:UserAccount" } ["name"]=> array(1) { ["predicates"]=> array(1) { [0]=> string(9) "foaf:name" } } ["homepage"]=> array(2) { ["predicates"]=> array(1) { [0]=> string(9) "foaf:page" } ["type"]=> string(3) "rel" } } ["comment_notify_settings"]=> NULL ["locations"]=> array(0) { } ["location"]=> array(0) { } ["realname"]=> string(5) "admin" ["twitter_accounts"]=> array(0) { } ["activity_accounts"]=> array(0) { } } ["template"]=> object(HeartbeatMessageTemplate)#1037 (20) { ["hid"]=> int(0) ["message_id"]=> string(22) "heartbeat_edit_account" ["perms"]=> int(4) ["description"]=> string(28) "user changed his/her account" ["message"]=> string(51) "!username's personal account page has been changed." ["message_concat"]=> string(57) "The personal account page of %username% has been changed." ["group_type"]=> string(7) "summary" ["concat_args"]=> array(7) { ["group_by"]=> string(4) "node" ["group_target"]=> string(8) "username" ["group_by_target"]=> string(0) "" ["group_num_max"]=> string(1) "4" ["merge_separator"]=> string(2) ", " ["merge_end_separator"]=> string(5) " and " ["roles"]=> array(5) { [1]=> int(0) [2]=> int(0) [3]=> int(0) [4]=> int(0) [5]=> int(0) } } ["variables"]=> array(1) { ["!username"]=> string(0) "" } ["attachments"]=> array(2) { ["buttons"]=> array(3) { ["weight"]=> array(2) { ["activitycomments"]=> string(2) "-9" ["flagattachment:like"]=> string(1) "0" } ["settings"]=> array(1) { ["activitycomments"]=> array(1) { ["activitycomments_node"]=> int(0) } } ["enabled"]=> array(2) { ["activitycomments"]=> string(16) "activitycomments" ["flagattachment:like"]=> int(0) } } ["content"]=> array(2) { ["weight"]=> array(2) { ["activitycomments"]=> string(2) "-9" ["flagattachment:like"]=> string(1) "0" } ["enabled"]=> array(2) { ["activitycomments"]=> string(16) "activitycomments" ["flagattachment:like"]=> int(0) } } } ["roles"]=> array(0) { } ["new_type"]=> NULL ["base"]=> NULL ["api_version"]=> int(1) ["disabled"]=> bool(false) ["export_module"]=> string(18) "heartbeat_defaults" ["export_type"]=> int(2) ["in_code_only"]=> bool(true) ["table"]=> string(18) "heartbeat_messages" ["type"]=> string(7) "Default" } ["show_time"]=> int(0) ["count"]=> int(0) ["target_count"]=> int(0) ["show_message_times"]=> int(1) ["show_message_times_grouped"]=> int(1) ["delete_access"]=> bool(true) ["actor_access"]=> bool(true) ["name"]=> string(17) "heartbeatactivity" ["type"]=> string(17) "heartbeatactivity" ["streamname"]=> string(0) "" ["view_mode"]=> string(4) "full" ["entity_view_prepared"]=> bool(true) } ["#view_mode"]=> string(4) "full" ["#language"]=> string(2) "en" ["#pre_render"]=> array(2) { [0]=> string(30) "_field_extra_fields_pre_render" [1]=> string(28) "field_group_build_pre_render" } ["#entity_type"]=> string(18) "heartbeat_activity" ["#bundle"]=> string(22) "heartbeat_edit_account" ["#attached"]=> array(1) { ["css"]=> array(1) { [0]=> string(86) "sites/all/modules/contrib-social-1/heartbeat/layouts/heartbeat_2col/heartbeat_2col.css" } } ["#groups"]=> array(0) { } ["#fieldgroups"]=> array(0) { } ["#group_children"]=> array(0) { } ["username"]=> array(3) { ["#markup"]=> string(156) "admin" ["#weight"]=> int(1) ["#access"]=> bool(true) } ["message"]=> array(5) { ["#attributes"]=> array(1) { ["class"]=> array(1) { [0]=> string(16) "activity-message" } } ["#title"]=> string(26) "Heartbeat activity message" ["#markup"]=> string(87) "admin's personal account page has been changed." ["#weight"]=> int(2) ["#access"]=> bool(true) } ["time"]=> array(4) { ["#title"]=> string(11) "Activity on" ["#markup"]=> string(85) "0 sec ago" ["#weight"]=> int(3) ["#access"]=> bool(true) } ["attachments"]=> array(3) { ["#markup"]=> string(41) "
" ["#weight"]=> int(4) ["#access"]=> bool(true) } ["buttons"]=> array(3) { ["#markup"]=> string(164) "Delete" ["#weight"]=> int(4) ["#access"]=> bool(true) } ["#sorted"]=> bool(true) ["#children"]=> string(0) "" } ["theme_hook_suggestions"]=> array(4) { [0]=> string(14) "heartbeat_2col" [1]=> string(34) "heartbeat_2col__heartbeat_activity" [2]=> string(57) "heartbeat_2col__heartbeat_activity_heartbeat_edit_account" [3]=> string(62) "heartbeat_2col__heartbeat_activity_heartbeat_edit_account_full" } ["zebra"]=> string(3) "odd" ["id"]=> int(1) ["directory"]=> string(44) "sites/all/modules/contrib-social-1/heartbeat" ["classes_array"]=> array(5) { [0]=> string(18) "heartbeat-activity" [1]=> string(3) "odd" [2]=> string(21) "heartbeat-activity-11" [3]=> string(22) "heartbeat_edit_account" [4]=> string(14) "view-mode-full" } ["attributes_array"]=> array(1) { ["id"]=> string(21) "heartbeat-activity-11" } ["title_attributes_array"]=> array(0) { } ["content_attributes_array"]=> array(0) { } ["title_prefix"]=> array(0) { } ["title_suffix"]=> array(0) { } ["user"]=> object(stdClass)#1012 (31) { ["uid"]=> string(1) "1" ["name"]=> string(5) "admin" ["pass"]=> string(55) "" ["mail"]=> string(32) "aegir@devmac.site" ["theme"]=> string(0) "" ["signature"]=> string(0) "" ["signature_format"]=> string(13) "filtered_html" ["created"]=> string(10) "1334878384" ["access"]=> string(10) "1335196923" ["login"]=> int(1335197351) ["status"]=> string(1) "1" ["timezone"]=> string(19) "America/Los_Angeles" ["language"]=> string(0) "" ["picture"]=> int(0) ["init"]=> string(32) "aegir@devmac.site" ["data"]=> array(7) { ["overlay"]=> int(0) ["geoip_location"]=> array(12) { ["country"]=> string(0) "" ["country_code"]=> string(0) "" ["region"]=> string(0) "" ["region_code"]=> string(0) "" ["city"]=> string(0) "" ["zip"]=> string(0) "" ["latitude"]=> NULL ["longitude"]=> NULL ["ip_address"]=> string(9) "127.0.0.1" ["timestamp"]=> int(1335197356) ["postal_code"]=> string(0) "" ["formatted_address"]=> string(0) "" } ["contact"]=> int(1) ["mimemail_textonly"]=> int(0) ["user_relationships_ui_auto_approve"]=> array(0) { } ["user_relationship_mailer_send_mail"]=> bool(true) ["user_relationships_allow_private_message"]=> string(12) "on all users" } ["uuid"]=> string(36) "8d7f87b5-a61b-8714-4180-3d837156b759" ["roles"]=> array(2) { [2]=> string(18) "authenticated user" [3]=> string(13) "administrator" } ["field_multiple_email"]=> array(1) { ["und"]=> array(1) { [0]=> array(1) { ["mail"]=> string(32) "aegir@devmac.site" } } } ["field_user_comment_notify"]=> array(0) { } ["metatags"]=> array(0) { } ["rdf_mapping"]=> array(3) { ["rdftype"]=> array(1) { [0]=> string(16) "sioc:UserAccount" } ["name"]=> array(1) { ["predicates"]=> array(1) { [0]=> string(9) "foaf:name" } } ["homepage"]=> array(2) { ["predicates"]=> array(1) { [0]=> string(9) "foaf:page" } ["type"]=> string(3) "rel" } } ["comment_notify_settings"]=> NULL ["locations"]=> array(0) { } ["location"]=> array(0) { } ["realname"]=> string(5) "admin" ["twitter_accounts"]=> array(0) { } ["activity_accounts"]=> array(0) { } ["privatemsg_disabled"]=> bool(false) ["original"]=> object(stdClass)#1013 (28) { ["uid"]=> string(1) "1" ["name"]=> string(5) "admin" ["pass"]=> string(55) "" ["mail"]=> string(32) "aegir@devmac.site" ["theme"]=> string(0) "" ["signature"]=> string(0) "" ["signature_format"]=> string(13) "filtered_html" ["created"]=> string(10) "1334878384" ["access"]=> string(10) "1335196923" ["login"]=> string(10) "1335197351" ["status"]=> string(1) "1" ["timezone"]=> string(19) "America/Los_Angeles" ["language"]=> string(0) "" ["picture"]=> NULL ["init"]=> string(32) "aegir@devmac.site" ["data"]=> array(7) { ["overlay"]=> int(0) ["geoip_location"]=> array(12) { ["country"]=> string(0) "" ["country_code"]=> string(0) "" ["region"]=> string(0) "" ["region_code"]=> string(0) "" ["city"]=> string(0) "" ["zip"]=> string(0) "" ["latitude"]=> NULL ["longitude"]=> NULL ["ip_address"]=> string(9) "127.0.0.1" ["timestamp"]=> int(1335196925) ["postal_code"]=> string(0) "" ["formatted_address"]=> string(0) "" } ["contact"]=> int(1) ["mimemail_textonly"]=> int(0) ["user_relationships_ui_auto_approve"]=> array(0) { } ["user_relationship_mailer_send_mail"]=> bool(true) ["user_relationships_allow_private_message"]=> string(12) "on all users" } ["uuid"]=> string(36) "8d7f87b5-a61b-8714-4180-3d837156b759" ["roles"]=> array(2) { [2]=> string(18) "authenticated user" [3]=> string(13) "administrator" } ["field_multiple_email"]=> array(1) { ["und"]=> array(1) { [0]=> array(1) { ["mail"]=> string(32) "aegir@devmac.site" } } } ["field_user_comment_notify"]=> array(0) { } ["metatags"]=> array(0) { } ["rdf_mapping"]=> array(3) { ["rdftype"]=> array(1) { [0]=> string(16) "sioc:UserAccount" } ["name"]=> array(1) { ["predicates"]=> array(1) { [0]=> string(9) "foaf:name" } } ["homepage"]=> array(2) { ["predicates"]=> array(1) { [0]=> string(9) "foaf:page" } ["type"]=> string(3) "rel" } } ["comment_notify_settings"]=> NULL ["locations"]=> array(0) { } ["location"]=> array(0) { } ["realname"]=> string(5) "admin" ["twitter_accounts"]=> array(0) { } ["activity_accounts"]=> array(0) { } } ["is_new"]=> bool(false) } ["db_is_active"]=> bool(true) ["is_admin"]=> bool(true) ["logged_in"]=> bool(true) ["is_front"]=> bool(true) ["view_mode"]=> string(4) "full" ["message"]=> object(HeartbeatActivity)#1034 (36) { ["uaid"]=> string(2) "11" ["message_id"]=> string(22) "heartbeat_edit_account" ["uid"]=> string(1) "1" ["uid_access"]=> bool(true) ["uid_target"]=> int(0) ["nid"]=> int(0) ["cid"]=> int(0) ["nid_access"]=> bool(true) ["nid_target"]=> int(0) ["nid_target_access"]=> bool(true) ["in_group"]=> int(0) ["timestamp"]=> int(1335197351) ["language"]=> string(2) "en" ["message"]=> string(87) "admin's personal account page has been changed." ["message_concat"]=> string(0) "" ["access"]=> int(4) ["variables"]=> array(1) { ["!username"]=> string(45) "admin" } ["attachments"]=> array(0) { } ["additions"]=> object(stdClass)#1031 (0) { } ["index"]=> NULL ["buttons"]=> array(1) { [0]=> string(164) "Delete" } ["classes"]=> string(0) "" ["actor"]=> object(stdClass)#1013 (28) { ["uid"]=> string(1) "1" ["name"]=> string(5) "admin" ["pass"]=> string(55) "" ["mail"]=> string(32) "aegir@devmac.site" ["theme"]=> string(0) "" ["signature"]=> string(0) "" ["signature_format"]=> string(13) "filtered_html" ["created"]=> string(10) "1334878384" ["access"]=> string(10) "1335196923" ["login"]=> string(10) "1335197351" ["status"]=> string(1) "1" ["timezone"]=> string(19) "America/Los_Angeles" ["language"]=> string(0) "" ["picture"]=> NULL ["init"]=> string(32) "aegir@devmac.site" ["data"]=> array(7) { ["overlay"]=> int(0) ["geoip_location"]=> array(12) { ["country"]=> string(0) "" ["country_code"]=> string(0) "" ["region"]=> string(0) "" ["region_code"]=> string(0) "" ["city"]=> string(0) "" ["zip"]=> string(0) "" ["latitude"]=> NULL ["longitude"]=> NULL ["ip_address"]=> string(9) "127.0.0.1" ["timestamp"]=> int(1335196925) ["postal_code"]=> string(0) "" ["formatted_address"]=> string(0) "" } ["contact"]=> int(1) ["mimemail_textonly"]=> int(0) ["user_relationships_ui_auto_approve"]=> array(0) { } ["user_relationship_mailer_send_mail"]=> bool(true) ["user_relationships_allow_private_message"]=> string(12) "on all users" } ["uuid"]=> string(36) "8d7f87b5-a61b-8714-4180-3d837156b759" ["roles"]=> array(2) { [2]=> string(18) "authenticated user" [3]=> string(13) "administrator" } ["field_multiple_email"]=> array(1) { ["und"]=> array(1) { [0]=> array(1) { ["mail"]=> string(32) "aegir@devmac.site" } } } ["field_user_comment_notify"]=> array(0) { } ["metatags"]=> array(0) { } ["rdf_mapping"]=> array(3) { ["rdftype"]=> array(1) { [0]=> string(16) "sioc:UserAccount" } ["name"]=> array(1) { ["predicates"]=> array(1) { [0]=> string(9) "foaf:name" } } ["homepage"]=> array(2) { ["predicates"]=> array(1) { [0]=> string(9) "foaf:page" } ["type"]=> string(3) "rel" } } ["comment_notify_settings"]=> NULL ["locations"]=> array(0) { } ["location"]=> array(0) { } ["realname"]=> string(5) "admin" ["twitter_accounts"]=> array(0) { } ["activity_accounts"]=> array(0) { } } ["template"]=> object(HeartbeatMessageTemplate)#1037 (20) { ["hid"]=> int(0) ["message_id"]=> string(22) "heartbeat_edit_account" ["perms"]=> int(4) ["description"]=> string(28) "user changed his/her account" ["message"]=> string(51) "!username's personal account page has been changed." ["message_concat"]=> string(57) "The personal account page of %username% has been changed." ["group_type"]=> string(7) "summary" ["concat_args"]=> array(7) { ["group_by"]=> string(4) "node" ["group_target"]=> string(8) "username" ["group_by_target"]=> string(0) "" ["group_num_max"]=> string(1) "4" ["merge_separator"]=> string(2) ", " ["merge_end_separator"]=> string(5) " and " ["roles"]=> array(5) { [1]=> int(0) [2]=> int(0) [3]=> int(0) [4]=> int(0) [5]=> int(0) } } ["variables"]=> array(1) { ["!username"]=> string(0) "" } ["attachments"]=> array(2) { ["buttons"]=> array(3) { ["weight"]=> array(2) { ["activitycomments"]=> string(2) "-9" ["flagattachment:like"]=> string(1) "0" } ["settings"]=> array(1) { ["activitycomments"]=> array(1) { ["activitycomments_node"]=> int(0) } } ["enabled"]=> array(2) { ["activitycomments"]=> string(16) "activitycomments" ["flagattachment:like"]=> int(0) } } ["content"]=> array(2) { ["weight"]=> array(2) { ["activitycomments"]=> string(2) "-9" ["flagattachment:like"]=> string(1) "0" } ["enabled"]=> array(2) { ["activitycomments"]=> string(16) "activitycomments" ["flagattachment:like"]=> int(0) } } } ["roles"]=> array(0) { } ["new_type"]=> NULL ["base"]=> NULL ["api_version"]=> int(1) ["disabled"]=> bool(false) ["export_module"]=> string(18) "heartbeat_defaults" ["export_type"]=> int(2) ["in_code_only"]=> bool(true) ["table"]=> string(18) "heartbeat_messages" ["type"]=> string(7) "Default" } ["show_time"]=> int(0) ["count"]=> int(0) ["target_count"]=> int(0) ["show_message_times"]=> int(1) ["show_message_times_grouped"]=> int(1) ["delete_access"]=> bool(true) ["actor_access"]=> bool(true) ["name"]=> string(17) "heartbeatactivity" ["type"]=> string(17) "heartbeatactivity" ["streamname"]=> string(0) "" ["view_mode"]=> string(4) "full" ["entity_view_prepared"]=> bool(true) } ["content"]=> array(5) { ["username"]=> array(3) { ["#markup"]=> string(156) "admin" ["#weight"]=> int(1) ["#access"]=> bool(true) } ["message"]=> array(5) { ["#attributes"]=> array(1) { ["class"]=> array(1) { [0]=> string(16) "activity-message" } } ["#title"]=> string(26) "Heartbeat activity message" ["#markup"]=> string(87) "admin's personal account page has been changed." ["#weight"]=> int(2) ["#access"]=> bool(true) } ["time"]=> array(4) { ["#title"]=> string(11) "Activity on" ["#markup"]=> string(85) "0 sec ago" ["#weight"]=> int(3) ["#access"]=> bool(true) } ["attachments"]=> array(3) { ["#markup"]=> string(41) "
" ["#weight"]=> int(4) ["#access"]=> bool(true) } ["buttons"]=> array(3) { ["#markup"]=> string(164) "Delete" ["#weight"]=> int(4) ["#access"]=> bool(true) } } ["heartbeat_left_classes"]=> string(0) "" ["heartbeat_left_wrapper"]=> string(3) "div" ["heartbeat_content_classes"]=> string(0) "" ["heartbeat_content_wrapper"]=> string(3) "div" ["heartbeat_footer_classes"]=> string(0) "" ["heartbeat_footer_wrapper"]=> string(3) "div" ["rendered_by_ds"]=> bool(true) ["layout_wrapper"]=> string(3) "div" }

Stalski’s picture

Status: Active » Postponed (maintainer needs more info)

Can you explain how to reproduce this?
Which version of heartbeat do you use? (since I remember there was an issue on the entity's name not being found)

socialnicheguru’s picture

; Information added by drupal.org packaging script on 2012-04-19
version = "7.x-1.0+111-dev"
core = "7.x"
project = "heartbeat"
datestamp = "1334794890"

pfrenssen’s picture

The HeartbeatActivity object can be found in $vars['elements']['#heartbeat_activity'] and $vars['message'] in the debug output of comment #2.

pfrenssen’s picture

Status: Postponed (maintainer needs more info) » Needs review
StatusFileSize
new1.38 KB

Here is a patch. Can you test if this solves the problem for you? I have not tested it myself.

This is a workaround and it would be better if this is fixed in the Heartbeat module, they could do this without much damage to existing implementations by supplying a copy of the object in $vars['heartbeat_activity'].

malancheril’s picture

I tried this patch and got this error:

Parse error: syntax error, unexpected $end in drupal7/sites/all/modules/ds/ds.module on line 1391

Pages wouldn't render at all.

pfrenssen’s picture

Just a note, I have played with the heartbeat module for a few hours about a week ago trying to reproduce this problem but I was unable to. Some more information on how to replicate it would be appreciated.

wormz30’s picture

I've been running into this problem, myself. I can reproduce this error by creating a 'full content' display for a node type or 'user account view' and then creating a block field with heartbeat block. I realized that this is definitely not a display suite issue, but rather it's a heartbeat problem. I'm not familiar with creating entities, but it has something to do with how it feeds $vars into the display suite module.

swentel’s picture

Project: Display Suite » Heartbeat
Version: 7.x-2.x-dev » 7.x-1.x-dev

I'm going to move this to heartbeat first and let stalski try to reproduce or investigate that patch. Stalski, go ahead and commit if this fixes it for you.

Stalski’s picture

Status: Needs review » Postponed (maintainer needs more info)

I don't really understand the steps you're are suggesting in #9. I don't have any problems here. I debugged in ds and I see

$vars['elements']['#entity_type']

is needed to locate the variable itself, which in this case is "heartbeat_activity". In elements it's exactly that what's there. You can't confuse this with the "message" object or the "content" being rendered.

The $render_container = 'content'; and that's also correct ...

Again: what can I do to see the error?

play4quarters’s picture

I'm also having this issue.

I have two tabs at the user account area:
1. User Activity
2. User Relations Activity

If I navigate to the my account area and click either of these tabs, it renders without error. When I click on the other tab this is the error I receive:

Notice: Undefined index: heartbeat_activity in ds_entity_variables() (line 965 of /home/communit/public_html/sites/all/modules/ds/ds.module).

It doesn't matter which order I do this in, it's always the second click that results in error.

Also of note: in further testing...after I click on one of these, it does not matter where I navigate to, even if it's the home page etc., the error then comes up.

Hope this helps in troubleshooting.

Thanks, in advance, for looking into this, I'd really like to use this module.

Stalski’s picture

Status: Postponed (maintainer needs more info) » Fixed

After upgrading DS, I had the problem too. In heartbeat I switched all the "message" properties in the preprocessing to "heartbeat_activity".
You'll need to clear cache to see results.

play4quarters’s picture

Thanks so much.

Really dumb question, and my apologies in advance...Where do I navigate to to switch the message properties that you've outlined? At quick glance, I didn't notice any settings, but I'm sure it's something boneheaded that I'm completely missing.

Thank you for your guidance, and for addressing this for us.

Stalski’s picture

You don't need to switch anything (I did that in code cause DS expects the preprocess variable to be the exact name of the entity.
After a cache clear all, you should be fine. (and after pulling from git , or downloading next dev release ofcourse)

play4quarters’s picture

Wonderful!

I just tried this and it has definitely solved the issue. No more error messages after installing and clearing cache.

I really appreciate your responsiveness, and your hard work on this module in general. Can't thank you enough!

Stalski’s picture

Status: Fixed » Closed (fixed)

aaaight