Fatal error: Uncaught Error: Call to undefined method WP_Textdomain_Registry::reset() in /customers/f/d/0/morten-jacobsen.com/httpd.www/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php:139 Stack trace: #0 /customers/f/d/0/morten-jacobsen.com/httpd.www/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php(119): WPML\ST\MO\Hooks\LanguageSwitch->resetTranslationAvailabilityInformation() #1 /customers/f/d/0/morten-jacobsen.com/httpd.www/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php(73): WPML\ST\MO\Hooks\LanguageSwitch->changeMoObjects('da_DK') #2 /customers/f/d/0/morten-jacobsen.com/httpd.www/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php(48): WPML\ST\MO\Hooks\LanguageSwitch->switchToLocale('da_DK') #3 /customers/f/d/0/morten-jacobsen.com/httpd.www/wp-includes/class-wp-hook.php(310): WPML\ST\MO\Hooks\LanguageSwitch->languageHasSwitched('da') #4 /customers/f/d/0/morten-jacobsen.com/httpd.www/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #5 /customers/f/d/0/morten-jacobsen.com/httpd.www/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #6 /customers/f/d/0/morten-jacobsen.com/httpd.www/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php(1168): do_action('wpml_language_h...', 'da', false, 'en') #7 /customers/f/d/0/morten-jacobsen.com/httpd.www/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php(2742): SitePress->switch_lang('da') #8 /customers/f/d/0/morten-jacobsen.com/httpd.www/wp-content/plugins/sitepress-multilingual-cms/classes/seo/class-wpml-seo-headlangs.php(45): SitePress->get_ls_languages(Array) #9 /customers/f/d/0/morten-jacobsen.com/httpd.www/wp-includes/class-wp-hook.php(308): WPML_SEO_HeadLangs->head_langs('') #10 /customers/f/d/0/morten-jacobsen.com/httpd.www/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #11 /customers/f/d/0/morten-jacobsen.com/httpd.www/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #12 /customers/f/d/0/morten-jacobsen.com/httpd.www/wp-includes/general-template.php(3043): do_action('wp_head') #13 /customers/f/d/0/morten-jacobsen.com/httpd.www/wp-content/themes/Divi/header.php(27): wp_head() #14 /customers/f/d/0/morten-jacobsen.com/httpd.www/wp-includes/template.php(783): require_once('/customers/f/d/...') #15 /customers/f/d/0/morten-jacobsen.com/httpd.www/wp-includes/template.php(718): load_template('/customers/f/d/...', true, Array) #16 /customers/f/d/0/morten-jacobsen.com/httpd.www/wp-includes/general-template.php(48): locate_template(Array, true, true, Array) #17 /customers/f/d/0/morten-jacobsen.com/httpd.www/wp-content/themes/Divi/page.php(3): get_header() #18 /customers/f/d/0/morten-jacobsen.com/httpd.www/wp-includes/template-loader.php(106): include('/customers/f/d/...') #19 /customers/f/d/0/morten-jacobsen.com/httpd.www/wp-blog-header.php(19): require_once('/customers/f/d/...') #20 /customers/f/d/0/morten-jacobsen.com/httpd.www/index.php(17): require('/customers/f/d/...') #21 {main} thrown in /customers/f/d/0/morten-jacobsen.com/httpd.www/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php on line 139