Posted by nicholasyonko on November 16, 2011 at 7:05pm
6 followers
Jump to:
| Project: | Avatar Approval |
| Version: | 7.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
Module needs to be refactored to work with Rules 2. Current task list includes:
- avatarapproval.rules.inc error on line 84 rules_events_global_user_argument() function doesn't exist
Enabling module throws this error, and disables the Drupal site with a 500 error:
Fatal error: Call to undefined function
rules_events_global_user_argument() in
/sites/all/modules/contrib/avatarapproval/avatarapproval.rules.inc
on line 84
Comments
#1
I am having the same error in Drupal 7. The installation seems to be correct, but when I try to enable and I push the save button in modules list I receive the same error.
Fatal error: Call to undefined function rules_events_global_user_argument() in sites/all/modules/avatarapproval/avatarapproval.rules.inc on line 84
#2
I acknowledge this error, it happens because there is the need to rewrite the implementation of avatarapproval to work with rules 2. If you don't need rules for avatarapproval simply remove file avatarapproval.rules.inc and the avatarapproval_rules() hook in avatarapproval.module and the error will not show up.
Sadly I haven't yet found the time to fix this. Any contribution to the rules implementation is welcome
#3
#4
@pebels Did you have Rules 2 enabled? This may be a dependency issue.
#5
Fixed in latest dev
#6
Automatically closed -- issue fixed for 2 weeks with no activity.