Fatal error: Uncaught Error: Call to undefined method WP_Textdomain_Registry::reset() in /var/www/polsterafdelingen.dk/staging/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php:139 Stack trace: #0 /var/www/polsterafdelingen.dk/staging/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php(119): WPML\ST\MO\Hooks\LanguageSwitch->resetTranslationAvailabilityInformation() #1 /var/www/polsterafdelingen.dk/staging/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php(73): WPML\ST\MO\Hooks\LanguageSwitch->changeMoObjects('da_DK') #2 /var/www/polsterafdelingen.dk/staging/wp-content/plugins/wpml-string-translation/classes/TranslateWpmlString.php(167): WPML\ST\MO\Hooks\LanguageSwitch->switchToLocale('da_DK') #3 /var/www/polsterafdelingen.dk/staging/wp-content/plugins/wpml-string-translation/classes/TranslateWpmlString.php(109): WPML\ST\TranslateWpmlString->withMOLocale('da', Object(Closure)) #4 /var/www/polsterafdelingen.dk/staging/wp-content/plugins/wpml in /var/www/polsterafdelingen.dk/staging/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php on line 139