I'm getting this error, possibly because I export a view to features.

Undefined index on line 280 of views_calc_table.inc

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

alberto56’s picture

Status: Active » Needs review
FileSize
685 bytes

Could we just check if the index is set, like this? Or is it some underlying problem.

alberto56’s picture

Here is another version.

tostinni’s picture

I noticed similar bug, but then it disappears after I resaved the format settings of my view. Maybe this tip can help.

mgifford’s picture

In general I'm in favour of adding these checks to avoid these errors. Still seems to apply nicely.

JakeRogers’s picture

Thank you for that tostinni...you're the smartest one of the entire group. #3 worked fine for me as well.

dev25’s picture

Ditto, #3 everyone. Try it before patching. Worked for me.