I think this is a duplicate of #1245244: Undefined index: delta in views_handler_field_field->get_value(), which adresses 'delta' instead of 'und'.
Error appears when looping at display data when some columns/datacells have no data, in e.g. mymodule_views_plugin_style_xyz.inc :

foreach ($records as $row_index => $row) {
  foreach ($this->view->field as $key => $field) {
    if (!$field->options['exclude']) {
      $object_value = $this->view->field[$key]->get_value($row);
    }
  }
}

The line 740 in views_handler_field_field::getvalue() may return an empty array, which is incorrectly tested for in line 686:

    // The field we are trying to display doesn't exist on this entity.
+    if (empty($entity->{$this->definition['field_name']})) {
-    if (!isset($entity->{$this->definition['field_name']})) {
      return array();
    }
...
    if ($field == 'entity') {
      return $entity;
    }
    else {
      return $entity->{$this->definition['field_name']}[$langcode];
    }
  }

Patch coming up.

Comments

johnv’s picture

StatusFileSize
new554 bytes

here's the patch.

johnv’s picture

Status: Active » Needs review
dawehner’s picture

Status: Needs review » Fixed

Thanks! This makes absolute sense, commit to 7.x-3.x

dawehner’s picture

No it doesn't make sense, see http://drupal.org/node/1325942#new

johnv’s picture

Status: Fixed » Needs work

Ah, I was so hapy my little drop passed without comments on indents etc. ;-)

dawehner’s picture

Status: Needs work » Needs review
StatusFileSize
new904 bytes

Hehe :)

What about this patch?

dawehner’s picture

Status: Needs review » Fixed

So commited to 7.x-3.x

Status: Fixed » Closed (fixed)

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

giorgosk’s picture

Status: Closed (fixed) » Needs review
StatusFileSize
new704 bytes

Unfortunatelly I still get exactly the same error on line 692
here is a patch that makes it go away

dawehner’s picture

Status: Needs review » Fixed

Yeah there seems to be multiple places with that issue, so your patch fixes another issue.

Commited this patch to 7.x-3.x

Status: Fixed » Closed (fixed)

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