tableau-mkt-archived / entity_xliff

Drupal module that provides an API for entity serialization in the XLIFF format.
https://drupal.org/project/entity_xliff
2 stars 0 forks source link

Unable to install: fatal error, class not found #43

Closed iamEAP closed 9 years ago

iamEAP commented 9 years ago

When you run drush en entity_xliff after freshly downloading the module, the install fails due to the following fatal error:

Fatal error: Class 'EntityXliff\Drupal\Factories\EntityTranslatableFactory' not found in /path/to/drupal/sites/all/modules/entity_xliff/modules/comment.entity_xliff.inc on line 20

Full stack trace below:

PHP Stack trace:
PHP   1. {main}() /path/to/.composer/vendor/drush/drush/drush.php:0
PHP   2. drush_main() /path/to/.composer/vendor/drush/drush/drush.php:16
PHP   3. _drush_bootstrap_and_dispatch() /path/to/.composer/vendor/drush/drush/drush.php:61
PHP   4. drush_dispatch() /path/to/.composer/vendor/drush/drush/drush.php:92
PHP   5. call_user_func_array:{/path/to/.composer/vendor/drush/drush/includes/command.inc:182}() /path/to/.composer/vendor/drush/drush/includes/command.inc:182
PHP   6. drush_command() /path/to/.composer/vendor/drush/drush/includes/command.inc:182
PHP   7. _drush_invoke_hooks() /path/to/.composer/vendor/drush/drush/includes/command.inc:214
PHP   8. call_user_func_array:{/path/to/.composer/vendor/drush/drush/includes/command.inc:362}() /path/to/.composer/vendor/drush/drush/includes/command.inc:362
PHP   9. drush_pm_enable() /path/to/.composer/vendor/drush/drush/includes/command.inc:362
PHP  10. drush_module_enable() /path/to/.composer/vendor/drush/drush/commands/pm/pm.drush.inc:1005
PHP  11. module_enable() /path/to/.composer/vendor/drush/drush/commands/core/drupal/environment_7.inc:143
PHP  12. module_invoke_all() /path/to/drupal/includes/module.inc:499
PHP  13. call_user_func_array:{/path/to/drupal/includes/module.inc:895}() /path/to/drupal/includes/module.inc:895
PHP  14. entity_modules_enabled() /path/to/drupal/includes/module.inc:895
PHP  15. _entity_modules_get_default_types() /path/to/drupal/sites/all/modules/entity/entity.module:974
PHP  16. entity_crud_get_info() /path/to/drupal/sites/all/modules/entity/entity.module:1028
PHP  17. entity_get_info() /path/to/drupal/sites/all/modules/entity/entity.module:723
PHP  18. drupal_alter() /path/to/drupal/includes/common.inc:7758
PHP  19. entity_xliff_entity_info_alter() /path/to/drupal/includes/module.inc:1101
PHP  20. _entity_xliff_get_translatable_info() /path/to/drupal/sites/all/modules/entity_xliff/entity_xliff.module:72
PHP  21. module_invoke_all() /path/to/drupal/sites/all/modules/entity_xliff/entity_xliff.module:131
PHP  22. call_user_func_array:{/path/to/drupal/includes/module.inc:895}() /path/to/drupal/includes/module.inc:895
PHP  23. comment_entity_xliff_translatable_info() /path/to/drupal/includes/module.inc:895