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/MO/Hooks/LanguageSwitch.php(48): WPML\ST\MO\Hooks\LanguageSwitch->switchToLocale('da_DK') #3 /var/www/polsterafdelingen.dk/staging/wp-includes/class-wp-hook.php(326): WPML\ST\MO\Hooks\LanguageSwitch->languageHasSwitched('da') #4 /var/www/polsterafdelingen.dk/staging/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) in /var/www/polsterafdelingen.dk/staging/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php on line 139