I am getting the following error on my tab page
Notice: Undefined index: page in fb_tab_view() (line 266 of /var/www/html/band/sites/all/modules/fb/fb_tab.module).

the line throwing the error is: 'page' => $sr['page'],

anyone else seeing this or know how to fix?

CommentFileSizeAuthor
#3 fb_tab_warning.diff952 bytesDave Cohen
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

eMuse_be’s picture

Second that

Hermes22’s picture

I had the same error,

On line 306 and 308 i found two times below each other.

  $sr = $fb->getSignedRequest();

  $sr = $fb->getSignedRequest();

I removed one, because we only need one. I'll saved, uploaded it and the error was gone. Seems to be a fix.

Dave Cohen’s picture

Title: Error loading Page Tabs » Undefined index: page in fb_tab_view()
Status: Active » Needs review
FileSize
952 bytes

Although that's ugly and I'll fix it, I don't see how that could be responsible for the warning.

Here's a patch that might get rid of the warning. I'd still like to know exactly how to reproduce this.