Notice: Undefined index: exclude_og in heartbeat_block_save() (line 432 of /home/jd/sites/en/sites/all/modules/heartbeat/heartbeat.module)

Comments

wipeout630’s picture

Any updates on this bug?

Bitvark’s picture

Status: Active » Needs review

It 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']);

wipeout630’s picture

It resolved the error message I was getting for the Heartbeats and User Activity blocks. Thanks!