Posted by Apfel007 on March 4, 2011 at 9:51am
4 followers
Jump to:
| Project: | Drupal for Facebook |
| Version: | 7.x-3.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
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
#1
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.
#2
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.
#3
I do intend to support canvas pages but not for the particular app that I created.
It sill shows up.