My WordPress site is broken, showing only this error message:
Fatal error: Uncaught Error: Call to undefined method WP_Textdomain_Registry::reset() in /var/www/htdocs/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php:139 Stack trace: #0 /var/www/htdocs/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php(119): WPMLSTMOHooksLanguageSwitch->resetTranslationAvailabilityInformation() #1 /var/www/htdocs/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php(73): WPMLSTMOHooksLanguageSwitch->changeMoObjects('view-subscripti...') #2 /var/www/htdocs/wp-content/plugins/wpml-string-translation/classes/TranslateWpmlString.php(167): WPMLSTMOHooksLanguageSwitch->switchToLocale('view-subscripti...') #3 /var/www/htdocs/wp-content/plugins/wpml-string-translation/classes/TranslateWpmlString.php(109): WPMLSTTrans in /var/www/htdocs/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php on line 139
I can only access the website after adding ".disabled" to the plugin folder (wpml-string-translation) name, but this disables the plugin and the website requires it to work.
This is a problem when updating to wordpress 6.1.
To fix this issue you need to update WPML to 4.5.12 and string translations to 3.2.3
Source: https://wpml.org/changelog/2022/10/wpml-4-5-12-updates-for-wordpress-6-1/
--edit:
After downloading the two updated plug-ins, rename the two folders related to the plug-ins and install the updated version to solve the problem
vThe V-shaped bicycle is good VB is wrong VB is wrong v