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.

CommentFileSizeAuthor
#3 profile_enforcer.module.patch4.7 KBsuydam

Comments

suydam’s picture

See http://drupal.org/node/148236
Also please post version of Drupal you're using.

cacciaresi’s picture

My version is 5.1

suydam’s picture

Status: Active » Fixed
StatusFileSize
new4.7 KB

New 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.

cacciaresi’s picture

Thanks a lot, now i can´t , but as soon as i can i will test the patch!
Thanks a lot!

suydam’s picture

Status: Fixed » Closed (fixed)

Closing.