For some reason, the code for hiding or showing the breadcrumb keeps spitting out this error, and I'm not sure why:

Notice: Undefined offset: 1 in layoutstudio_preprocess_html() (line 54 of /Users/rene/Sites/projects/ls7/sites/all/themes/layoutstudio/template.php).

Comments

rhache’s picture

I should point out that whenever I clear the cache, the issue goes away temporarily.

Rene

rjay’s picture

Status: Active » Fixed

Turns out this was caused by the code that was building the classes for section and sub-section. It was assuming that the path always had multiple parts (eg. it contained at least one '/'), so it was generating the notice that you saw whenever the path only contained one part. I've corrected the code to handle this scenario properly.

Committed to 7.x-1.x.

Ryan

Status: Fixed » Closed (fixed)

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