On versions beta4 and beta5, when adding an article, we get the error:

Error adding article: The website encountered an unexpected error. Please try again later.

Log shows the following:

PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'revision_id' in 'field list': INSERT INTO {entity_translation} (entity_type, entity_id, revision_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, :db_insert_placeholder_9); Array ( [:db_insert_placeholder_0] => node [:db_insert_placeholder_1] => 776 [:db_insert_placeholder_2] => 776 [:db_insert_placeholder_3] => und [:db_insert_placeholder_4] => [:db_insert_placeholder_5] => 1 [:db_insert_placeholder_6] => 1 [:db_insert_placeholder_7] => 0 [:db_insert_placeholder_8] => 1463681963 [:db_insert_placeholder_9] => 1463681963 ) em EntityTranslationDefaultHandler->doSaveTranslations() (linha 611 de /var/www/scopio1/sites/all/modules/entity_translation/includes/translation.handler.inc).

Comments

sysopx0 created an issue. See original summary.

sysopx0’s picture

Title: "Error adding article: The website encountered an unexpected error. Please try again later." when adding article. Unknown column 'revision_id' » "The website encountered an unexpected error. Please try again later." when adding article. Unknown column 'revision_id'
plach’s picture

It seems your database was not properly updated after upgrading to beta4, you can find more information in the release notes:

https://www.drupal.org/node/2412615

The missing update is 7006 (see entity_translation_update_7006()). Check whether you have pending database updates.

plach’s picture

Priority: Major » Normal
Status: Active » Postponed (maintainer needs more info)
Shin-en’s picture

I also had the same problem after updating from beta 3 to beta 5. Solution was to update DB as suggested in #3.

plach’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

Thanks for reporting :)