Active
Project:
Drupal for Facebook
Version:
7.x-3.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Mar 2011 at 09:51 UTC
Updated:
3 Mar 2013 at 01:42 UTC
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
Comment #1
alasda commentedThis 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.
Comment #2
Dave Cohen commentedThanks 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.
Comment #3
socialnicheguru commentedI do intend to support canvas pages but not for the particular app that I created.
It sill shows up.