Got notices like

Undefined index: sidebar_first in zurb_foundation_preprocess_page()
Undefined index: sidebar_second in zurb_foundation_preprocess_page() (line 290 of zurb_foundation.theme)

I have a fix and will have a patch here. It's a simple thing. I had unset the sidebars in my child theme and got these notices.

  // Convenience variables
  $left = $variables['page']['sidebar_first'];
  $right = $variables['page']['sidebar_second'];
CommentFileSizeAuthor
#3 undefined-sidebar-2826679-3.patch641 bytesHongPong
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

HongPong created an issue. See original summary.

HongPong’s picture

Issue summary: View changes
HongPong’s picture

Here you are.

HongPong’s picture

Status: Active » Needs review

samuel.mortenson’s picture

Status: Needs review » Fixed

Looks good to me @hongpong, thanks!

HongPong’s picture

Hey thanks for rolling it in. best regards

Status: Fixed » Closed (fixed)

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