Closed (fixed)
Project:
Views data export
Version:
6.x-3.0-beta5
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Aug 2012 at 09:12 UTC
Updated:
18 Sep 2012 at 11:01 UTC
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
Comment #1
babbage commentedActually, we were using Drupal 6.x version of the module.
Comment #2
steven jones commentedThis error seems to occur when you specify a display that doesn't actually exist. We should validate that.
Comment #3
steven jones commentedThanks for the bug report, fixed in 6.x-2.x.