If you need help updating or fixing your website, after a WPML String Translation crash, ask for a free site check.
https://www.magefix.com/free
Replace this function
private function resetTranslationAvailabilityInformation() {
global $wp_textdomain_registry;
if ( $wp_textdomain_registry ) {
$wp_textdomain_registry->reset();
} elseif ( function_exists( '_get_path_to_translation' ) ) {
_get_path_to_translation( null, true );
}
}
With this
private function resetTranslationAvailabilityInformation() {
global $wp_textdomain_registry;
if ( ! isset( $wp_textdomain_registry ) && function_exists( '_get_path_to_translation' ) ) {
_get_path_to_translation( null, true );
}
}
Your Site is Experiencing a Technical Issue
Error Details
An error of type E_ERROR was caused in line 139 of the file /home/membersmagefix/public_html/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php. Error message: Uncaught Error: Call to undefined method WP_Textdomain_Registry::reset() in /home/membersmagefix/public_html/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php:139
Try our Free site check.