Using the latest Flag module I'm getting the following error:
Fatal error: Call to a member function theme() on a non-object in ../heartbeat/modules/heartbeat_plugins/plugins/flagattachment.inc on line 194

I did a dump of the $heartbeatActivity->template->attachments['flagattachment']['flag_flags'] array and this is what it contains:

... (Array, 1 element)
  like (Boolean) FALSE

It then expects the FALSE value to be a flag and run a theming function on it, which obviously won't work.

CommentFileSizeAuthor
#1 heartbeat-n1444832.patch1.15 KBDamienMcKenna
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

DamienMcKenna’s picture

Version: 7.x-1.x-dev » 7.x-1.0
Status: Active » Needs review
FileSize
1.15 KB

Patch for 1.0 that ensures the $flag variable is an object before it tries to run the theme() method.

Stalski’s picture

Status: Needs review » Closed (fixed)

Due to a bigger refactoring in plugins, this should be fixed.