* Notice: Undefined index: #primary in nitobe_process_page() (line 549 of /var/www/iwantatravel/themes/nitobe/template.php).
* Notice: Undefined index: #primary in nitobe_preprocess_page() (line 513 of /var/www/iwantatravel/themes/nitobe/template.php).
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 1016038.patch | 914 bytes | robcarr |
Comments
Comment #1
Paul M commentedI have the same message
Comment #2
jjfradet commentedSame message in my install.
Any ideas on how to get rid of it or define the variable? Or just switch to another theme?
Comment #3
robcarrI have the same problem, although actually using Nitobe as a base theme. I have disabled both Main and Secondary menus in the theme settings, as I am using Nice Menus for my main site nav. The error message only seems to appear when the following conditions are met:
/admin/prefix)All other pages, and non-modals are just fine.
Only way round it is to check if value is set:
Seems to work now. Patch attached - please review and set to RTBC if this works for you too,
Comment #4
Pedro Lozano commentedThanks for the patch. I've commited it to the 7.x-2.x branch.
Comment #5
Pedro Lozano commentedComment #6
SirNoname commentedSadly, I get this error with 7.x-2.0-beta1. Already cleared the cach. Anybody else?