I updated the Metatag module and i need to update the mySQL Database entries but i receive during the update following error message:

Failed: PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'node-17-17-de' for key 'PRIMARY': UPDATE {metatag} SET revision_id=:db_update_placeholder_0 WHERE (entity_type = :db_condition_placeholder_0) AND (entity_id = :db_condition_placeholder_1) AND (revision_id = :db_condition_placeholder_2) AND (language = :db_condition_placeholder_3) ; Array ( [:db_update_placeholder_0] => 17 [:db_condition_placeholder_0] => node [:db_condition_placeholder_1] => 17 [:db_condition_placeholder_2] => 0 [:db_condition_placeholder_3] => de ) in metatag_update_7018() (Zeile 1084 von /var/www/vhosts/ostseepedia/relaunch/sites/all/modules/metatag/metatag.install).

Comments

alexander.sibert’s picture

Status: Active » Closed (won't fix)

That was a fail in my database. I recreated the two specific nodes and the Update works.