Just installed the latest beta4, everything went fine except when I placed Facebook Connect as a block these errors pop up (I am on PHP 5.3.17 if that helps) - any idea what the problem is? The block is appearing and as far as I can tell functioning, but these errors are worrying. Do I need to upgrade to dev version?

Notice: Undefined property: stdClass::$id in fb_api_init() (line 413 of /home/*/*/sites/all/modules/fb/fb.module).
Notice: Undefined property: stdClass::$id in fb_api_init() (line 447 of /home/*/*/sites/all/modules/fb/fb.module).
Notice: Undefined property: stdClass::$id in fb_api_init() (line 448 of /home/*/*/sites/all/modules/fb/fb.module).
Notice: Undefined property: stdClass::$id in fb_api_init() (line 454 of /home/*/*/sites/all/modules/fb/fb.module).
Notice: Undefined property: stdClass::$id in fb_api_init() (line 462 of /home/*/*/sites/all/modules/fb/fb.module).
Notice: Undefined property: stdClass::$id in fb_api_init() (line 474 of /home/*/*/sites/all/modules/fb/fb.module).
Notice: Undefined property: stdClass::$id in fb_graph_get_tags() (line 189 of /home*/*/sites/all/modules/fb/fb_graph.module).

Comments

Anonymous’s picture

These lines seem to have $fb_app->id in common...

Dave Cohen’s picture

Do you have a primary applicaiton configured? See admin/build/fb/fb_connect. If you set one, does the error go away?

I tried to reproduce on my local copy, did not see the same notices.

Anonymous’s picture

Hi Dave,

Thanks for your reply. This error seems to have disappeared, I think it was related to app permissions. Though I have an error whenever I create a new node: Notice: Undefined property: stdClass::$fb_stream_do_post in fb_stream_node_insert() (line 55 of /home/*/*/sites/all/modules/fb/fb_stream.module).