Creating default object from empty value in _views_data_export_batch_process() (line 156 in views_data_export/views_data_export.module).


Alan D.’s picture

Priority: Normal » Minor

confirmed. this resolves the error, but this probably could be handled better if I knew what was going on.

  if (!isset($view->display_handler->batched_execution_state)) {
    $view->display_handler->batched_execution_state = new StdClass;
  $view->display_handler->batched_execution_state->eid = $export_id;

maybe this will do instead?

  $view->display_handler->batched_execution_state = (object) array('eid' => $export_id);
Steven Jones’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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