Hi there!

Today I came across this little didy while using AdaptiveTheme

Warning: Invalid argument supplied for foreach() in adaptivetheme_preprocess_breadcrumb() (line 1027 of /sites/all/themes/contrib/adaptivetheme/at_core/inc/preprocess.inc).

In my sub theme I have actually turned off all breadcrumbs so it seems strange that I am having this error.

CommentFileSizeAuthor
#1 2529982-missingvariablecheck-2.patch714 bytesShaneOnABike
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ShaneOnABike’s picture

Status: Active » Needs review
FileSize
714 bytes

This issue being that there is no actual check to see if the $vars['breadcrumb'] actually exists prior to looping through the breadcrumbs. Whoops!

Here's the patch!

Jeff Burnz’s picture

Status: Needs review » Fixed

Awesome sauce :)

Status: Fixed » Closed (fixed)

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