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.
Line 58 in heartbeat.streams.inc is setting the wrong key value for the array 'heartbeatPollNewerMessages'.
It is currently:
drupal_add_js(array('heartbeatPollNewerMessages' => array($streamConfig->name => $streamConfig->poll_messages)), 'setting');
but should read
drupal_add_js(array('heartbeatPollNewerMessages' => array($streamConfig->class => $streamConfig->poll_messages)), 'setting');
I have a feeling this is probably addressed in dev, but stable 7.x-1.0 release seems pretty far behind the dev version. You might want to look into that.
Comment | File | Size | Author |
---|---|---|---|
heartbeat-jsarraykey.patch | 848 bytes | selfsimilar |
Comments
Comment #1
Stalski CreditAttribution: Stalski commentedIndeed, already fixed that