I'm getting an "Undefined Variable" message:
Notice: Undefined variable: secondary_menu_heading in include() (line 110 of /home/content/blah/blah/html/Drupal7/sites/all/themes/multiflex3/templates/page.tpl.php).
Primary tabs

Comments

hswong3i’s picture

jbcbirder’s picture

Status: Active » Closed (fixed)

I do think that must be the problem. I'm using the 7.3.1 release and it appears to have been fixed in the dev version. Thanks ! and sorry to bug you.

onegenius’s picture

Please tell me more about the fix. What version and waht module/theme/drupal update?

I am developing a theme and is having the same problem.

jbcbirder’s picture

@ onegenius - I was having a problem with the multiflex-3 theme and it was giving that error. The theme author's link indicated that it was a problem with the Zen theme (multiflex-3 is a subtheme of zen). Once I updated my version of zen, I had no more problem. Hope you figured out the problem you were having.

Shawn_Cai’s picture

Issue summary: View changes

i got the problem also,i think the best way to solve the quesitno is updating the zen or drupal core.

Shawn_Cai’s picture

if(!empty($secondary_menu_heading)): // Added this line

 print theme('links__system_secondary_menu', array(
      'links' => $secondary_menu,
      'attributes' => array(
        'id' => 'secondary-menu',
        'class' => array('links', 'clearfix'),
      ),
      'heading' => array(
        'text' => $secondary_menu_heading,
        'level' => 'h2',
        'class' => array('element-invisible'),
      ),
    )); 

endif; // Added this line

you can positioned the preceding code snippet at the default code's postion.the question will be soved ,the more content ,you can see:
http://drupal.org/node/1084504#comment-4285614??