Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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.
Comment | File | Size | Author |
---|---|---|---|
#1 | heartbeat-n1444832.patch | 1.15 KB | DamienMcKenna |
Comments
Comment #1
DamienMcKennaPatch for 1.0 that ensures the $flag variable is an object before it tries to run the theme() method.
Comment #2
Stalski CreditAttribution: Stalski commentedDue to a bigger refactoring in plugins, this should be fixed.