Closed (fixed)
Project:
Activity Log
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Sep 2011 at 06:40 UTC
Updated:
19 Feb 2013 at 21:50 UTC
mod_fcgid: stderr: PHP Fatal error: Call to undefined function flag_get_types() in /var/www/.../sites/all/modules/activity_log/activity_log.module on line 392, referer: .../admin/build/modules
Comments
Comment #1
robertkein commentedMy fault - module flags was not activated.
Comment #2
chrisg_2010 commentedHow do i activate module flags? I have this same error and I have no idea how to fix.
edit: misunderstood "Module flags" - fixed.
Thanks,
Chris
Comment #3
webchickI hit this too...
It seems to me like this should be resolved, either by:
1) an explicit dependency on Flag module in activity_log.info
2) Wrapping this in a module_exists('flag') check like OG is below, or
3) by removing that hunk of code in activity_log_token_list() altogether, since the comment above it references removing it after #1202648: Add a token for flag link lands, which has since been committed.
Comment #4
webchickWent to make a patch for this, but in the latest code, it's doing #3.2. Marking back to fixed. Workaround is to use the -dev release for now. Filed #1921800: Roll a new Activity Log release? to see if I could entice the maintainers to make a new release so this doesn't bite anyone else. :)