Skip Navigation

Open

Reported for: WPML Multilingual CMS 4.5.14

Topic Tags: Bug

Overview of the issue

When you deactivate and reactivate WPML after migrating your website or updating WPML manually, you see the following error:

WordPress database error Duplicate entry ‘1616-de’ for key ‘wp_icl_translations.trid_lang’ for query UPDATE `wp_icl_translations` SET `language_code` = ‘de’ WHERE `translation_id` = ‘2122’ made by require_once(‘wp-admin/admin.php’), require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘init’), WP_Hook->do_action, WP_Hook->apply_filters, SitePress->rebuild_language_information, TranslationManagement->add_missing_language_information, TranslationManagement->add_missing_language_to_posts, TranslationManagement->add_missing_language_to_post)

Keep in mind that the entry (1616-de) and translation_id (2122) values may vary from one website to another.

Workaround

Our developers are aware of this situation and working on a solution for it. If you encounter this situation, please open a chat in our support forum and share this erratum link. One of our specialists will be happy to help you.

Leave a Reply

Please stay on topic and be respectful to others. If you need help with issues not related to this post, use our Support Forum to start a chat or submit a ticket.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>