Posted by cocoa56 on August 15, 2012 at 7:00pm
Hi,
I installed legal module 7.x yesterday. When my current registered users log in for the first time after the legal module was installed they have to agree to the terms I set. As an administrator I see the following error when I look at the user account in edit mode under people.
Error message
Notice: Undefined variable: accepted in legal_form_user_profile_form_alter() (line 296 of /home/content/71/9017771/html/main/sites/all/modules/legal-7.x-1.2/legal/legal.module).
Can anyone tell me if that is a bug the legal module or did I not set something when I installed and configured the module?
Thanks
Cocoa56
Comments
known-ish issue
Looks like this has been reported before: http://drupal.org/node/1356822
I didn't go through the entire thread to see what the resolution is.
To find that issue, all I did was Google for, "drupal Notice: Undefined variable: accepted in legal_form_user_profile_form_alter() (line 296".
All that being said, it's only a PHP notice, annoying, but not serious.
-mike
Closed
Thanks Mike. I found that also. It seems it happens on previous users but not on new ones after the module is installed.
Bob