Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Notice: Undefined index: exclude_og in heartbeat_block_save() (line 432 of /home/jd/sites/en/sites/all/modules/heartbeat/heartbeat.module)
Comments
Comment #1
wipeout630 CreditAttribution: wipeout630 commentedAny updates on this bug?
Comment #2
Bitvark CreditAttribution: Bitvark commentedIt seems changing line 432 resolves it. Need testing
from:
variable_set('exclude_og_' . drupal_strtolower($stream->class), $edit['exclude_og']);
to:
if (isset($edit['exclude_og'])) variable_set('exclude_og_' . drupal_strtolower($stream->class), $edit['exclude_og']);
Comment #3
wipeout630 CreditAttribution: wipeout630 commentedIt resolved the error message I was getting for the Heartbeats and User Activity blocks. Thanks!