Notice: Undefined variable: closure_region in include() (line 149 of /Library/WebServer/Documents/dr63/sites/all/themes/pixture_reloaded/page.tpl.php).
notice: Undefined variable: primary_menu in /Library/WebServer/Documents/dr61/sites/all/themes/pixture_reloaded/page.tpl.php on line 66.
The error is probably caused by the fact there isn't any menu. Core themes don't cause the same error, so I guess that something in the code needs to be changed.
I thought I saw more error messages, but I am now not able to reproduce them.
•Notice: Undefined variable: primary_menu in include() (line 78 of /var/www/site/sites/all/themes/pixture_reloaded/page.tpl.php).
•Notice: Undefined variable: primary_menu in include() (line 80 of /var/www/site/sites/all/themes/pixture_reloaded/page.tpl.php).
•Notice: Undefined variable: primary_menu in include() (line 81 of /var/www/site/sites/all/themes/pixture_reloaded/page.tpl.php).
•Notice: Undefined variable: primary_menu in include() (line 82 of /var/www/site/sites/all/themes/pixture_reloaded/page.tpl.php).
•Notice: Undefined variable: closure_region in include() (line 161 of /var/www/site/sites/all/themes/pixture_reloaded/page.tpl.php).
primary_menu var was not initialized and the closure region was some legacy code that should have been removed a long time ago, sorry this has taken forever to fix, I have been distracted by work on Drupal core for too long and now am refocusing on my contrib projects. Thanks for the patience people.
Comments
Comment #1
Jeff Burnz commentedThank-you and duly noted, wow thats a long outstanding bug, i cant believe its gone undetected all this time!
I will attack this when I get back from my holiday in a few weeks, cheers!
Comment #2
avpadernoThe error is probably caused by the fact there isn't any menu. Core themes don't cause the same error, so I guess that something in the code needs to be changed.
I thought I saw more error messages, but I am now not able to reproduce them.
Comment #3
avpadernoI get the error message when viewing a node.
Comment #4
hawleyal commentedPossible PHP 5.3 bug?
Comment #5
Kisama commentedNegative. I'm running PHP 5.2.13 and have the same error.
Comment #6
superfedya commentedSame probleme with php 5.3. Any fix?
•Notice: Undefined variable: primary_menu in include() (line 78 of /var/www/site/sites/all/themes/pixture_reloaded/page.tpl.php).
•Notice: Undefined variable: primary_menu in include() (line 80 of /var/www/site/sites/all/themes/pixture_reloaded/page.tpl.php).
•Notice: Undefined variable: primary_menu in include() (line 81 of /var/www/site/sites/all/themes/pixture_reloaded/page.tpl.php).
•Notice: Undefined variable: primary_menu in include() (line 82 of /var/www/site/sites/all/themes/pixture_reloaded/page.tpl.php).
•Notice: Undefined variable: closure_region in include() (line 161 of /var/www/site/sites/all/themes/pixture_reloaded/page.tpl.php).
Comment #7
Jeff Burnz commentedprimary_menu var was not initialized and the closure region was some legacy code that should have been removed a long time ago, sorry this has taken forever to fix, I have been distracted by work on Drupal core for too long and now am refocusing on my contrib projects. Thanks for the patience people.
Both issues are fixed in the next release.