Got this error after creating a new ap

Notice: Undefined property: stdClass::$canvas_name in fb_app_admin_form_submit() (line 253 of /Users/xx/Server-Apps/drupal-7.0/sites/all/modules/fb/fb_app.admin.inc).
Notice: Undefined property: stdClass::$canvas_name in fb_admin_page() (line 47 of /Users/xx/Server-Apps/drupal-7.0/sites/all/modules/fb/fb.admin.inc).

Comments

alasda’s picture

This happens if you haven't set the value for 'Canvas Page' in your facebook application settings.
To fix:
Navigate to your developer page for the app.
Click Edit Settings
On the left sidebar, click Facebook Integration
Enter a value for Canvas Page

Then return to your Drupal install, edit the app via the fb settings, and save. It should sync up and get a value.

Dave Cohen’s picture

Priority: Normal » Minor

Thanks for pointing out the cause. Notices are usually harmless but should be fixed.

If you see this, but don't intend to support canvas pages, just disable fb_canvas.module.

socialnicheguru’s picture

I do intend to support canvas pages but not for the particular app that I created.

It sill shows up.