I have enabled the features and exportables modules. When I go to admin/content/taxonomy/add/vocabulary I get the folowing error:
Fatal error: Cannot redeclare taxonomy_features_api() (previously declared in /.../modules/exportables/modules/taxonomy.inc:52) in /.../modules/features/includes/features.taxonomy.inc on line 16
Comments
Comment #1
dagmarYou are probably using exportables 1.x, exportables/modules/taxonomy.inc file is not included in 2.x branch.
Please check this and be sure you are using Exportables-2.x-beta1.
Comment #2
osopolarYes, accidentally I downloaded 1.x-dev.
[edit]
this happened because I was using drush to download the module without specifying a version
Comment #3
hefox commentedHow to upgrade production systems from exportables 1.x to new features.
Remove taxonomy_features_api function from exportables 1.x
Add an update hook somewhere that does
Then if no longer using exportables, disable/uninstall away.
This is my full update function. Was getting duplicate vocabularies due cache clear before updatedb :/.
Now, for features with exported vocabulary, add
features[taxonomy][] = features_
To the features info file and drush fu the file (or go and recreate the feature, adding the vocabularies).
Comment #5
kenorb commentedMarked as duplicate: #1038284: Fatal error: Cannot redeclare taxonomy_features_api()
Solution:
Please remove exportables module and download 6.x-2.x again.
Or please remove at least modules/taxonomy.inc file which is not part of 6.x-2.x
See:
http://drupalcode.org/project/exportables.git/tree/refs/heads/6.x-2.x