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.

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 1 year, 10 months ago.

Assisted by: Nigel.

Author Posts
November 2, 2022 at 5:49 am #12352275

walida-4

Tell us what you are trying to do?

when i trying to login to my dashboard i found this message and can not login :

Fatal error: Uncaught Error: Call to undefined method WP_Textdomain_Registry::reset() in /home/746627.cloudwaysapps.com/fwanfegbjg/public_html/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php:139 Stack trace: #0 /home/746627.cloudwaysapps.com/fwanfegbjg/public_html/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php(119): WPML\ST\MO\Hooks\LanguageSwitch->resetTranslationAvailabilityInformation() #1 /home/746627.cloudwaysapps.com/fwanfegbjg/public_html/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php(73): WPML\ST\MO\Hooks\LanguageSwitch->changeMoObjects() #2 /home/746627.cloudwaysapps.com/fwanfegbjg/public_html/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php(48): WPML\ST\MO\Hooks\LanguageSwitch->switchToLocale() #3 /home/746627.cloudwaysapps.com/fwanfegbjg/public_html/wp-includes/class-wp-hook.php(310): WPML\ST\MO\Hooks\LanguageSwitch->languageHasSwitched() #4 /home/746627.cloudwaysapps.com/fwanfegbjg/publi in /home/746627.cloudwaysapps.com/fwanfegbjg/public_html/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php on line 139

Is there any documentation that you are following?

Is there a similar example that we can see?

What is the link to your site?

hidden link

Capture369.PNG
November 2, 2022 at 7:35 am #12353055

Nigel
Supporter

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

Hi there

WP 6.1 introduces breaking changes which make it necessary to update WPML and String Translation before updating WordPress (see https://wpml.org/changelog/2022/10/wpml-4-5-12-updates-for-wordpress-6-1/).

Please update both WPML (4.5.12) and String Translation (3.2.3).

If you have access to your WP back end, you can update from the custom WPML installer page found under the commercial tab of the Add New plugins page (screenshot). You may need to click the Check for Updates button for your site to contact WPML and identify the latest available versions.

You can also reach this page from the list of plugins: under any of the WPML plugins click the registered link, and that will take you to the custom installer page.

If you cannot access the site because of the fatal error, you may need to use FTP to change the String Translation plugin folder name, which will deactivate it (see hidden link). You can then delete it from the plugins page and reinstall it (with the latest version).

If you need help let me know.

Screenshot 2022-11-02 at 11.49.55.png
November 2, 2022 at 7:53 am #12353271

vladislavM

The same problem, all WPML plugins were updated before core,

November 2, 2022 at 8:06 am #12353409

katarinaB-4

Same here, all WPML plugins were updated but our site crashed anyway.

November 2, 2022 at 8:10 am #12353473

billK-4

Hi.
Same here, our all website are facing this issue.

November 2, 2022 at 8:13 am #12353587

geraldM-4

Same here, website is completely down with fatal error.

November 2, 2022 at 8:16 am #12353667

Nigel
Supporter

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

For the clients commenting on this thread, the error occurs with String Translation 3.2.2, not with the latest version 3.2.3.

Please ensure that you update to String Translation 3.2.3 (and WPML 4.5.12).

As noted in my initial reply at the top, you may need to click the Check for Updates button on the custom installer page to make sure the installer sees the latest versions.

November 2, 2022 at 8:17 am #12353673

pauraicO

Same issue here. Plugins were updated before updating WordPress...

November 2, 2022 at 8:20 am #12353703

oliverB-50

I had the same problem. It would be great to get an update before that. Logging into a website with a fatal error/or the client telling about the fatal error is not good practise. Especially if it's known beforehand that this error can be caused. I would really appreciate it you're more proactive about informing about such those issues.

November 2, 2022 at 8:34 am #12353969

sylvainG-13

String Translation update to 3.2.3 is not available ?

November 2, 2022 at 8:38 am #12353973

sandraW-3

I have the same problem. And I can't see the String Translation update to 3.2.3 either.

November 2, 2022 at 8:40 am #12354043

Nigel
Supporter

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

We published a blog post and sent a newsletter last week encouraging users not to update to WordPress 6.1 until they had updated WPML and ST, hopefully you have not opted-out of receiving the newsletters. (If you need to re-subscribe, please email hello@wpml.org.)

Unfortunately WordPress did not handle this release very well, continuing to make breaking changes as late as last Friday, before releasing on a public holiday across Europe yesterday.

We are sorry for the disruption.

And, for anyone still commenting that they cannot see the 3.2.3 update of String Translation, please read again my first reply and know that you may need to click the Check for Updates button. (You can, of course, obtain the latest version to install manually from your account downloads page.)

November 2, 2022 at 8:43 am #12354067

marcW-15

I had the same problem on several websites.
Updating to String Translation 3.2.3 solved the issue for me.

November 2, 2022 at 8:49 am #12354151

andreaB-143

Hi, I changed the folder name manually and I can access the front end of the site but not from the administrator side.

Cattura.PNG
November 2, 2022 at 8:50 am #12354175

bekimK

Hi @nigel,

This problem has broken all of our sites today. We are currently using WPML plugins in 3 sites, and there is no notification to update plugins to newer version.
Our sites are updated automatically to latest WordPress version and we did not see your notices not to update to WordPress 6.1.
If you can check and send us detailed instructions to fix the problem caused by WPML plugins please

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