fix(menus): eliminates warnings in section menus

Handles case where $vars['items'] is empty/not an array.

Fixes #6558
Merge pull request #6567 from mrclay/6558

fix(menus): eliminates warnings in section menus