I created an install profile that creates a number of rules, and during an installation with drush site-install, I get a fatal error:

rules_action_heartbeat_activity_log() does not exist in ReflectionFunction->__construct()

I think this is because there is a module_load_include() missing somewhere (maybe in heartbeat_rules.rules.inc?). I fixed this by moving rules_action_heartbeat_activity_log() from heartbeat_rules.inc to heartbeat_rules.module. Patch is attached.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Stalski’s picture

Status: Needs review » Fixed

Thx for the patch. Committed it immediately. It is not that bad to have that function there.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.