When I try to generate or download a feature, I got this error :

Notice : Trying to get property of non-object dans features_get_feature_title() (ligne 893 dans /.../sites/all/modules/features/features.module).

In the module, the function features_get_feature_title simply returns the name of the feature :

/**
 * Menu title callback.
 */
function features_get_feature_title($feature) {
  return $feature->info['name'];
}

And the $feature param is given by the hook menu line 125 : $items['admin/structure/features/%feature'] = array(...);

Apparently he can't get the name of the feature because of the URL. And I can see on the previous page the action URL in the features export form : "/admin/structure/features/:///admin/structure/features/create".
Is this normal ?

Comments

benJBmC created an issue. See original summary.

benJBmC’s picture

Issue summary: View changes
benJBmC’s picture

FYI, I changed the module version to 7.x-2.4, which is a version I was using in another project, and no more error.
But it doesn't explain the reason of my initial issue...