I saw these errors when I am editing user information at "user/1/edit" URL:
Notice: Undefined index: uid in fb_user_form_user_profile_form_alter() (line 764 of /public_html/sites/all/modules/fb/fb_user.module).
Notice: Undefined index: #description in fb_user_form_user_profile_form_alter() (line 776 of /public_html/sites/all/modules/fb/fb_user.module).
Any idea what's wrong?
Cheers!
Chang
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | fb_user.patch | 776 bytes | alasda |
Comments
Comment #1
Dave Cohen commentedTHere are quite a few php notices in the D7 branch. They won't cause errors.
You can hide them with something like this in your settings.php, depending on your hosts php setup..
Comment #2
alasda commentedChange incorrect reference $data['uid'] to $data['id']
Added catch for empty string $form['Facebook Application']['map']['#description'] so concat does not fail.
See attached patch