Skip Navigation

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.

Our next available supporter will start replying to tickets in about 4.65 hours from now. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 8:00 – 14:00 8:00 – 14:00 8:00 – 14:00 8:00 – 14:00 8:00 – 14:00 -
- 15:00 – 17:00 15:00 – 17:00 15:00 – 17:00 15:00 – 17:00 15:00 – 17:00 -

Supporter timezone: Europe/Madrid (GMT+02:00)

This topic contains 225 replies, has 130 voices.

Last updated by Nigel 4 months, 2 weeks ago.

Assigned support staff: Nigel.

Author Posts
November 2, 2022 at 8:54 am #12354207


@nigel: thank you for your reply – that's understandable. I opted into the newsletter now. Have a good day! 🙂

November 2, 2022 at 8:58 am #12354333


Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

@andreab I suggest you create a separate thread about this so that we can discuss with you the specifics of your site, as we may need sensitive data such as your site credentials.

@bekimk the instructions are in my first reply in this thread ( If you have tried the above and it isn't working and need more help, please create a new thread so that we can help you directly.

November 2, 2022 at 9:05 am #12354499


@nigel I followed your clear instructions by clicking the 'Add New Plugins > Commercial' and checking, updating from there.

Just a quick question. As a lot of our WP sites will be configured to update WP to minor releases automatically and we can't always be on top of newsletter announcements, I'm thinking it might be safer to disable any core WP updates for any sites using WPML. Not ideal.

Any thoughts on that approach?


November 2, 2022 at 9:07 am #12354513



please develop the system so that no manual click is needed for "Check updates", either make it automatically check updates with cron or add support for WP CLI to get the updates.

I broke tens of sites with WP CLI routine today, wasn't too happy.

November 2, 2022 at 9:10 am #12354591


Just had same issue, after updating manually now is fix.

November 2, 2022 at 9:15 am #12354815


Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

@richard it is thankfully not common for WordPress to introduce breaking changes without enough notice for us to publish updates well ahead of the release, so this doesn't arise often, but it is obviously a serious inconvenience when it does. (Although WPML is affected this time, it can happen to anyone.)

You must choose what you think is best for your clients and their sites, but my instinct would be to only have WordPress automatic updates for minor versions and security releases. Really, major updates should get tested on a staging site before updating production servers.

@oskarim I'm sorry about that, I appreciate how much of a pain that would be. We have an internal ticket about applying a bulk check for updates across all your registered sites, and I'll pass on your feedback to see if that can get implemented sooner rather than later.

November 2, 2022 at 9:21 am #12354879


I have updated both WPML (4.5.12) and String Translation (3.2.3).

I downloaded the latest plugins version from my account page and uploaded both in my WordPress. Replaced the outdated plugins with the latest version

And it solved my problem.


November 2, 2022 at 9:24 am #12354931


the solution for me:

file: wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php
change: $wp_textdomain_registry->reset();
for: $wp_textdomain_registry = new \WP_Textdomain_Registry();

line 139

November 2, 2022 at 9:25 am #12354943


Same here

Call to undefined method WP_Textdomain_Registry::reset()

We've commented out line 139 in wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php to get the site back running.


November 2, 2022 at 9:30 am #12355025



I do not know if it was in your hand, but it has caused the fall, in our case, of more than 30 client websites coinciding with holidays in our country. The problem has been serious.

Best regards.

November 2, 2022 at 9:33 am #12355103


Solved as well.
As mentioned above, do change your update process so that the files download automatically.
Thanks and have a good day

November 2, 2022 at 9:38 am #12355277


What surprise, we had the same.
1. Deactivate WPML CMS, WPML Media Translation and WPML String,
2. DL the new version
3. Upload the new version

It cost much time, but now it works again.

November 2, 2022 at 9:50 am #12355459


Same here...

Fatal error: Uncaught Error: Call to undefined method WP_Textdomain_Registry::reset() in /home2/rqhotelh/public_html/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php:139Stack trace:#0 /home2/rqhotelh/public_html/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php(119): WPML\ST\MO\Hooks\LanguageSwitch->resetTranslationAvailabilityInformation()#1 /home2/rqhotelh/public_html/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php(73): WPML\ST\MO\Hooks\LanguageSwitch->changeMoObjects('en_US')#2 /home2/rqhotelh/public_html/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php(48): WPML\ST\MO\Hooks\LanguageSwitch->switchToLocale('en_US')#3 /home2/rqhotelh/public_html/wp-includes/class-wp-hook.php(310): WPML\ST\MO\Hooks\LanguageSwitch->languageHasSwitched('en')#4 /home2/rqhotelh/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)#5 /home2/rqhotelh/public_html/wp-includes/plugin.php(517): in /home2/rqhotelh/public_html/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php on line 139

November 2, 2022 at 10:02 am #12355593


same here

November 2, 2022 at 10:04 am #12355627


All my WMPL sites are crashed today. I have to deactivate wpml plugin to recover the websites. Where is the wpml fix?

The topic ‘[Closed] Fatal error: Uncaught Error: Call to undefined method WP_Textdomain_Registry’ is closed to new replies.