Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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?
Comment | File | Size | Author |
---|---|---|---|
#3 | fb_tab_warning.diff | 952 bytes | Dave Cohen |
Comments
Comment #1
eMuse_be CreditAttribution: eMuse_be commentedSecond that
Comment #2
Hermes22 CreditAttribution: Hermes22 commentedI had the same error,
On line 306 and 308 i found two times below each other.
I removed one, because we only need one. I'll saved, uploaded it and the error was gone. Seems to be a fix.
Comment #3
Dave Cohen CreditAttribution: Dave Cohen commentedAlthough 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.