Closed (duplicate)
Project:
Profile Enforcer
Version:
5.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
5 Apr 2008 at 21:25 UTC
Updated:
5 Aug 2008 at 06:31 UTC
Whenever there is a form that needs to be filled in, I am not redirected and I get this error:
warning: Missing argument 2 for variable_get() in /biznetbook/includes/bootstrap.inc on line 412.
I am using all of the default options, except turning it on. Any ideas?
Comments
Comment #1
davidneedhamIt looks like the problem is that the variable_get function must always have a variable. Here's what I got from another issue queue post:
"make sure you dont have any variable_get('something') anywhere and replace them with variable_get('something','') if you find them"
I'm not sure how to make a patch, but I think I found the bugs. Line 229, 233, and 237 all have this problem. I'll add ,0 and see if that makes a difference.
Comment #2
davidneedhamThat seemed to make a difference. Here's the code I updated:
Comment #3
davidneedhamComment #4
christefano commentedThis is a duplicate of #213189.