Skip to content Skip to sidebar

This thread is resolved. Here is a description of the problem and solution.

Problem:
You need help migrating your translations properly and are encountering deprecated notices.
Solution:
We recommend you follow these steps:
1. Temporarily deactivate all plugins except the WPML plugins.
2. Switch to a default WordPress theme, such as Twenty Twenty-Four.
3. Check if the deprecated notices still appear.
Additionally, please perform the following actions in WPML → Support → Troubleshooting:
- Clear the cache in WPML
- Remove ghost entries from the translation tables
- Fix element_type collation
- Fix WPML tables collation
- Set language information
- Fix post type assignment for translations
After completing these steps, clear all types of cache (browser cache, plugin cache, server cache, and CDN cache if applicable).
We have enabled debug information for this support ticket. Please follow the instructions in the link below to retrieve the debug information from your site and share it with us:
http://wpml.org/faq/provide-debug-information-faster-support/

If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable to your case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If needed, please open a new support ticket at WPML support forum for further assistance.

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Tagged: 

This topic contains 3 replies, has 0 voices.

Last updated by Andrey 1 month, 2 weeks ago.

Assisted by: Andrey.

Author Posts
March 3, 2026 at 1:44 pm #17868729

tsvetimiraK

How can I migrate my translations properly

March 3, 2026 at 9:58 pm #17870258

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Thank you for contacting WPML support.

I’ve reviewed the conversation, but I would like to better understand your goal. Could you please clarify exactly what you are trying to achieve?

If your intention is to migrate the entire site to a new hosting provider, then using a migration plugin such as Duplicator or All-in-One WP Migration should be sufficient.

The most important part of the process is to ensure that:
• All website files are migrated
• The entire database is migrated
• The domain is correctly updated (if it change)
• The site is re-registered in WPML with a new site key if the domain changes

March 6, 2026 at 9:44 am #17877329

tsvetimiraK

I migrated the website to a new hosting, currently it is used as staging website. I did not use a migration tool, I restored from jetpack backup the files and the database I restored myself. Everything is working fine, I just have a problem with WPML, it keeps throwing Deprecated errors in the log, like these two:
" PHP Deprecated: WPML_ST_Upgrade::__construct(): Implicitly marking parameter $command_factory as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/wp-content/plugins/wpml-string-translation/classes/upgrade/class-wpml-st-upgrade.php on line 42"
"PHP Deprecated: WPML\TM\ATE\TranslateEverything\AbstractUntranslatedElements::__construct(): Implicitly marking parameter $oldJobsEditor as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/wp-content/plugins/sitepress-multilingual-cms/classes/ATE/TranslateEverything/AbstractUntranslatedElements.php on line 24"
I tried clean installation of WPML, as I thought that maybe jetpack did something, but there is no change. So how can I fix this?

March 6, 2026 at 2:23 pm #17878027

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Thank you for your feedback.

The deprecated notices themselves should not cause the issue.

Could you please try the following tests?
1. Temporarily deactivate all plugins except the WPML plugins.
2. Switch to a default WordPress theme (for example, Twenty Twenty-Four).
3. Check whether the deprecated notices still appear.

Additionally, please try running the following options in WPML → Support → Troubleshooting:
• Clear the cache in WPML
• Remove ghost entries from the translation tables
• Fix element_type collation
• Fix WPML tables collation
• Set language information
• Fix post type assignment for translations

After running these options, please clear all types of cache (browser cache, plugin cache, server cache, and CDN cache if applicable).

I’ve also enabled debug information for this support ticket. Please follow the instructions in the link below to retrieve the debug information from your site and share it with us:

http://wpml.org/faq/provide-debug-information-faster-support/

Let me know how it goes.