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, 5 months ago.

Assisted by: Nigel.

Author Posts
November 2, 2022 at 10:11 am #12355737

Ruediger

Hi @nigel,

my site works with WordPress 5.9.5 and is also broken. I suspect it is not only due to the WordPress version used.

Ideas?

November 2, 2022 at 10:14 am #12355757

always-betterM

Ok, updating both plugin fixed the issue. Click on "check for updates" to force the new versions. Or make the update manually via ftp.

November 2, 2022 at 10:16 am #12355827

Nigel
Supporter

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

@ruediger it sounds like you have a different problem, can you please create a new thread or open a chat where someone will be able to look into the specifics of your issue.

To the other new commenters asking about a fix, please see me first reply to this thread:

https://wpml.org/forums/topic/fatal-error-uncaught-error-call-to-undefined-method-wp_textdomain_registry/#post-12353055

November 2, 2022 at 10:19 am #12355935

wadih

Broke my websites today, doesn't look professional at ALL

November 2, 2022 at 10:21 am #12355945

oskariO

@nigela One problem here is that (at least these) WPML updates didn't show up on site management software such as MainWP etc. because they were not handled by the normal WP update process (why?), but instead require a manual check for updates. This is a major downside to your current update implementation and causes a fair bit of manual labour for someone managing many sites.

I, for example, scanned the sites for updates several times, even just a moment ago, in MainWP after your earlier email, but the sites showed no updates available so I thought you hadn't released the update yet. I had no idea that a manual check was required as this was not mentioned in your email, just that you'd be releasing an update.

Maybe that's something you should look into, yes?

November 2, 2022 at 10:21 am #12355947

davideV-2

Guys, but why I can't auto-update the wpml core 4.5.12? I need to deactivate and upload the new one?

November 2, 2022 at 10:24 am #12355983

markusA-25

So how do I proceed if I already have the latest WordPress verision installed and want to install WPML?

November 2, 2022 at 10:25 am #12355995

danielV-48

Following this thread. Same issue here. No option to update WPML String translation plugin. Site down after update to WP 6.1.

November 2, 2022 at 10:29 am #12356029

johnR-45

Glad I came to WPML support forums quickly to check for updates rather than throw away hours trying to troubleshoot this on my own.

For those who don't have WP-CLI, it can save your bacon in this situation: hidden link (hidden, strange, just search for it)

wp plugin deactivate wpml-string-translation

will get you back online but who knows what kind of problems might emerge.

Then follow the update instructions from @nigela

November 2, 2022 at 10:29 am #12356033

francescoF-25

Same problem. Switch to Beta branch did not solve the issue.

[02-Nov-2022 10:27:05 UTC] PHP Fatal error: Uncaught Error: Call to undefined method WP_Textdomain_Registry::reset() in /site/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php:139
Stack trace:
#0 /home/nonsoloweb/_main/sito.express/site/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php(119): WPML\ST\MO\Hooks\LanguageSwitch->resetTranslationAvailabilityInformation()
#1 /site/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php(73): WPML\ST\MO\Hooks\LanguageSwitch->changeMoObjects('en_US')
#2 /site/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php(48): WPML\ST\MO\Hooks\LanguageSwitch->switchToLocale('en_US')
#3 /site/wp-includes/class-wp-hook.php(310): WPML\ST\MO\Hooks\LanguageSwitch->languageHasSwitched('en')

UPDATE

If you updated to WP 6.1 before WPML plugins in beta branch and wp-admin is still functional, while frontend is broken, you still need to:

  • Disable String Translation plugin (rename the folder via FTP)
  • Re-install string translation

If you just update the plugin to the latest Beta, without deactivating it, the error may still show up.

November 2, 2022 at 10:30 am #12356039

PaulaonTour

It doesn´t work for all our sites.....the site of our agency chrushed. I deactivate WPML now and will wait till you solve the problem.

November 2, 2022 at 10:30 am #12356041

Nigel
Supporter

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

@danielv-48 @markusa-25 @davidev-2 please see the first reply in this thread which details how to update WPML plugins if you experience this same problem:

https://wpml.org/forums/topic/fatal-error-uncaught-error-call-to-undefined-method-wp_textdomain_registry/#post-12353055

November 2, 2022 at 10:32 am #12356071

Nigel
Supporter

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

@francescof-25 @PaulaonTour please see the first reply in this thread which details how to update WPML plugins if you experience this same problem:

https://wpml.org/forums/topic/fatal-error-uncaught-error-call-to-undefined-method-wp_textdomain_registry/#post-12353055

November 2, 2022 at 10:37 am #12356219

francescoF-25

@nigel thanks for the reference, however I thought my situation was different because wp-admin was still functional, while only the frontend lead to the fatal error.

November 2, 2022 at 10:43 am #12356259

bentD

@nigel thanks for the help.

I'm updating the main plugin to v4.5.12 but the activation first failed due to server error, and the second time is taking more thank 20 minutes and still loading. I wonder if anyone else is having this issue and can we do something about that or just wait, or cancel and try again?

Thanks

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