After adding the first profile field to a new Drupal 6 install, I got the following error:

notice: Undefined index: options in C:\master\drupal-6.x-dev\modules\profile\profile.module on line 372.

Looking at the offending file ...

$form_state['values']['options'] must be the variable causing the problem. This variable needs to be initialized somewhere, or checked before use.

CommentFileSizeAuthor
#1 profile_notice_fix.patch1.06 KBchx

Comments

chx’s picture

Priority: Normal » Minor
Status: Active » Reviewed & tested by the community
StatusFileSize
new1.06 KB

That's just a notice not an error.

dries’s picture

That's a funny fix. Are you sure we're fixing this at the right place?

gábor hojtsy’s picture

Status: Reviewed & tested by the community » Needs review
dvessel’s picture

I spotted the same bug with a bit more info.

http://drupal.org/node/160976 -- I'm not so good at searching the que.

catch’s picture

Title: Getting an error after adding a profile field. » Notice after adding a profile field.
Status: Needs review » Fixed

needs a re-roll but I don't get these notices anymore anyway, so assuming fixed.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.