Related to #1005842: fatal error: non-object but that issue said that itself should remain closed, with follow-ups raised in other issues.

When the view is correctly set up, but a path has not been set in the View, an uninformative error message is received via drush:

Drush command terminated abnormally due to an unrecoverable error.
PHP Fatal error:   __clone method called on non-object in /path-to-drupal/includes/common.inc on line 1733

Given the fairly... efficient documentation on the module :) ... it isn't necessarily obvious on first use that a path would be required for an export view, If you were always planning to run an export via drush. It'd be peachy if it were possible to find a way to get drush to produce a more informative error message in this context, if it is possible?

Comments

babbage’s picture

Version: 7.x-3.0-beta6 » 6.x-3.0-beta5

Actually, we were using Drupal 6.x version of the module.

steven jones’s picture

This error seems to occur when you specify a display that doesn't actually exist. We should validate that.

steven jones’s picture

Status: Active » Fixed

Thanks for the bug report, fixed in 6.x-2.x.

Status: Fixed » Closed (fixed)

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