Fatal error: Uncaught Error: Call to undefined method WP_Textdomain_Registry::reset() in /data01/virt98195/domeenid/www.tmt.ee/new/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php:140 Stack trace: #0 /data01/virt98195/domeenid/www.tmt.ee/new/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php(119): WPML\ST\MO\Hooks\LanguageSwitch->resetTranslationAvailabilityInformation() #1 /data01/virt98195/domeenid/www.tmt.ee/new/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php(73): WPML\ST\MO\Hooks\LanguageSwitch->changeMoObjects('en_US') #2 /data01/virt98195/domeenid/www.tmt.ee/new/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php(48): WPML\ST\MO\Hooks\LanguageSwitch->switchToLocale('en_US') #3 /data01/virt98195/domeenid/www.tmt.ee/new/wp-includes/class-wp-hook.php(326): WPML\ST\MO\Hooks\LanguageSwitch->languageHasSwitched('en') #4 /data01/virt98195/domeenid/www.tmt.ee/new/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #5 /data01/virt98195/domeenid/www.tmt.ee/new/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #6 /data01/virt98195/domeenid/www.tmt.ee/new/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php(1181): do_action('wpml_language_h...', 'en', false, 'et') #7 /data01/virt98195/domeenid/www.tmt.ee/new/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php(2936): SitePress->switch_lang('en') #8 /data01/virt98195/domeenid/www.tmt.ee/new/wp-content/plugins/sitepress-multilingual-cms/classes/seo/class-wpml-seo-headlangs.php(45): SitePress->get_ls_languages(Array) #9 /data01/virt98195/domeenid/www.tmt.ee/new/wp-includes/class-wp-hook.php(324): WPML_SEO_HeadLangs->head_langs('') #10 /data01/virt98195/domeenid/www.tmt.ee/new/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #11 /data01/virt98195/domeenid/www.tmt.ee/new/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #12 /data01/virt98195/domeenid/www.tmt.ee/new/wp-includes/general-template.php(3064): do_action('wp_head') #13 /data01/virt98195/domeenid/www.tmt.ee/new/wp-content/themes/tmt/header.php(20): wp_head() #14 /data01/virt98195/domeenid/www.tmt.ee/new/wp-includes/template.php(810): require_once('/data01/virt981...') #15 /data01/virt98195/domeenid/www.tmt.ee/new/wp-includes/template.php(745): load_template('/data01/virt981...', true, Array) #16 /data01/virt98195/domeenid/www.tmt.ee/new/wp-includes/general-template.php(48): locate_template(Array, true, true, Array) #17 /data01/virt98195/domeenid/www.tmt.ee/new/wp-content/themes/tmt/front-page.php(3): get_header() #18 /data01/virt98195/domeenid/www.tmt.ee/new/wp-includes/template-loader.php(106): include('/data01/virt981...') #19 /data01/virt98195/domeenid/www.tmt.ee/new/wp-blog-header.php(19): require_once('/data01/virt981...') #20 /data01/virt98195/domeenid/www.tmt.ee/new/index.php(17): require('/data01/virt981...') #21 {main} thrown in /data01/virt98195/domeenid/www.tmt.ee/new/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php on line 140