This is not as much data as I'd like to give, but I don't have access to everything I'd like to get to at the moment:

I'm actually using 7.x-3.3-beta3+4-dev

When I attempt to edit a user page as an admin (people > edit any user) , I get this error:
Notice: Trying to get property of non-object in fb_user_form_user_profile_form_alter() (line 891 of (mysitelocation)/sites/all/modules/fb/fb_user.module).

I checked the report page in admin: and the referrer is example.com/users/exampleuser/#overlay=user/27/edit%3Fdestination%3Dadmin%252Fpeople

This happens if I edit directly from the user page or the admin page.

I'm unable to cancel user accounts, and unable to edit a user picture field I have on the page. Annoyingly, I'm not sure if these are actually related to this notice, but I can't find any other cause at the moment. If I try to cancel an account, no matter which option I choose, the confirmation overlay only returns the breadcrumb and nothing else (ie, no confirmation message).

Global redirect is not on the system. I haven't tried devel yet, but I can - I spotted a similar issue, #1308748: Notice: Trying to get property of non-object in fb_get_object_fbu() (line 902 of modules/fb/fb.module). , but it's occurring in a different place and this is a more recent version of the module.

Comments

heba2012’s picture

sub

Mackee’s picture

Subscribing. But mine was on line 799. Beta4

Dave Cohen’s picture

Have you set up a facebook app? Is it set to be "primary"?

It's hard to imagine how this notice would affect editing and cancelling user accounts. Is everyone on this thread experiencing that problem, or just the notice?

Try changing the name of fb_user_form_user_profile_form_alter() to something else, i.e fb_user_form_user_profile_form_alterXXX(), just to see if the notice and other errors go away.

Mackee’s picture

Setting the app as "primary" works