I'm trying to translate pages using the Entity translation module(s).
Whenever I click the "translate" tab, I get this error:

PDOException: SQLSTATE[HY000]: General error: 1364 Field 'revision_id' doesn't have a default value: INSERT INTO {entity_translation} (entity_type, entity_id, language, source, uid, status, translate, created, changed) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6, :db_insert_placeholder_7, :db_insert_placeholder_8); Array ( [:db_insert_placeholder_0] => node [:db_insert_placeholder_1] => 37 [:db_insert_placeholder_2] => fr [:db_insert_placeholder_3] => [:db_insert_placeholder_4] => 1 [:db_insert_placeholder_5] => 1 [:db_insert_placeholder_6] => 0 [:db_insert_placeholder_7] => 1418447504 [:db_insert_placeholder_8] => 1418447504 ) in EntityTranslationDefaultHandler->saveTranslations() (line 449 of /home/choeu400/public_html/sites/all/modules/entity_translation/includes/translation.handler.inc).

I'm not quite sure when this started happening, as I was able to translate page content initially. Now I can't even create a new page with the entity translation module being enabled. I have to disable it, create the page, then re-enable the module. Still, I'm unable to translate pages (see above).

Any clues what may cause this ?

Thanks,

Comments

plach’s picture

Priority: Critical » Major
Status: Active » Postponed (maintainer needs more info)
nimek’s picture

I had same issue when by mistake my database was from entity translation 1.4 but I put entity translation1.3 in modules folder.

Upgrade module to 1.4 solved this issue.