Notice: Undefined variable: closure_region in include() (line 149 of /Library/WebServer/Documents/dr63/sites/all/themes/pixture_reloaded/page.tpl.php).

Comments

Jeff Burnz’s picture

Assigned: Unassigned » Jeff Burnz

Thank-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!

avpaderno’s picture

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.

avpaderno’s picture

notice: Undefined index: $is_front in /Library/WebServer/Documents/dr61/sites/all/themes/pixture_reloaded/template.php on line 183.

I get the error message when viewing a node.

hawleyal’s picture

Possible PHP 5.3 bug?

Kisama’s picture

Negative. I'm running PHP 5.2.13 and have the same error.

superfedya’s picture

Same 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).

Jeff Burnz’s picture

Status: Active » Fixed

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.

Both issues are fixed in the next release.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.