I downloaded and installed the module, then I enable it, but when i try to use it, this message is shown, and block is not shown.
* warning: Missing argument 2 for variable_get(), called in /home/ng000241/public_html/modules/profile_enforcer/profile_enforcer.module on line 112 and defined in /home/ng000241/public_html/includes/bootstrap.inc on line 369.
* warning: Missing argument 2 for variable_get(), called in /home/ng000241/public_html/modules/profile_enforcer/profile_enforcer.module on line 117 and defined in /home/ng000241/public_html/includes/bootstrap.inc on line 369.
* warning: Missing argument 2 for variable_get(), called in /home/ng000241/public_html/modules/profile_enforcer/profile_enforcer.module on line 124 and defined in /home/ng000241/public_html/includes/bootstrap.inc on line 369.
* warning: Missing argument 2 for variable_get(), called in /home/ng000241/public_html/modules/profile_enforcer/profile_enforcer.module on line 135 and defined in /home/ng000241/public_html/includes/bootstrap.inc on line 369.
* warning: Missing argument 2 for variable_get(), called in /home/ng000241/public_html/modules/profile_enforcer/profile_enforcer.module on line 138 and defined in /home/ng000241/public_html/includes/bootstrap.inc on line 369.
* warning: Missing argument 2 for variable_get(), called in /home/ng000241/public_html/modules/profile_enforcer/profile_enforcer.module on line 144 and defined in /home/ng000241/public_html/includes/bootstrap.inc on line 369.
* warning: Missing argument 2 for variable_get(), called in /home/ng000241/public_html/modules/profile_enforcer/profile_enforcer.module on line 165 and defined in /home/ng000241/public_html/includes/bootstrap.inc on line 369.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | profile_enforcer.module.patch | 4.7 KB | suydam |
Comments
Comment #1
suydam commentedSee http://drupal.org/node/148236
Also please post version of Drupal you're using.
Comment #2
cacciaresi commentedMy version is 5.1
Comment #3
suydam commentedNew version created to fix problem. Be sure to download version 1.0 and not the development snapshot.
Thanks for finding the bug!
I've also attached a patch to this email in case you need a solution immediately.
Comment #4
cacciaresi commentedThanks a lot, now i can´t , but as soon as i can i will test the patch!
Thanks a lot!
Comment #5
suydam commentedClosing.