Content types with field translation enabled after saving metadata:
PHP Fatal error: Call to undefined function entity_translation_entity_form_get_handler() in /Users/tuomasleppanen/Sites/xxx.dev/drupal/builds/build_2013-04-26-104358/sites/all/modules/contrib/metatag/metatag.module on line 1251, referer: http://xxx.dev/fi/node/109/translate

node/edit cannot be accessed afterwards.

CommentFileSizeAuthor
#5 metatag-n1982164-5.patch1.42 KBdamienmckenna

Comments

damienmckenna’s picture

Status: Active » Closed (works as designed)

The entity_translation_entity_form_get_handler() function is part of the Entity_Translation module and was added over a year ago, are you sure you're using a recent version of that module?

demoshane’s picture

We are using the version that comes with http://drupal.org/project/ns_core latest RC in our makefile. For some reason it doesn't include version number. I'll investigate the issue further from that point.

damienmckenna’s picture

Ok, that's the problem then, Nodestream Core only has Entity Translation v7.x-1.0-alpha2. So you need to update Entity Translation, then it'll work.

sunchaser’s picture

Same issue here when I updated Metatag module yesterday (and did not update the Entity Translation module to alpha2 release)
Updated Entity Translation fixed the issue.

damienmckenna’s picture

Title: Metatag + Field translation = WSOD » Add hook_requirements check to verify EntityTranslation is up-to-date
Category: bug » task
Status: Closed (works as designed) » Needs review
StatusFileSize
new1.42 KB

Ok, lets add a hook_requirements check to verify that Entity_Translation is sufficiently up-to-date.

damienmckenna’s picture

Status: Needs review » Fixed

Committed.

Status: Fixed » Closed (fixed)

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