Skip to main content
2 of 3
edited tags
avpaderno
  • 97.9k
  • 15
  • 164
  • 284

Notice: Undefined index: field_brand_image in include() in views field template

I've got another question about undefined index that I can use help with.

The error message I get is: Notice: Undefined index: field_brand_image in include() on line 15

I'm pretty sure that this is the same lnaguage and "und" portion of the field array issue I had in my other question here: Notice: Undefined index: und in include()

And only displays when the field is empty

Except this time the error is coming from a views template, the line throwing the error looks like:

php print $fields['field_brand_image']->content;

I "think" the answer involves an isset conditional, but I don't know what the syntax should be. I'm using D7.23 and views 7.x-2.3

I'd appreciate some help. Thanks.

StephanieF
  • 417
  • 1
  • 7
  • 25