Fatal error: Uncaught Error: Call to undefined method WP_Textdomain_Registry::reset() in /var/www/mellemgaard.com/marathon/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php:139
Stack trace:
#0 /var/www/mellemgaard.com/marathon/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php(119): WPML\ST\MO\Hooks\LanguageSwitch->resetTranslationAvailabilityInformation()
#1 /var/www/mellemgaard.com/marathon/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php(73): WPML\ST\MO\Hooks\LanguageSwitch->changeMoObjects('en_US')
#2 /var/www/mellemgaard.com/marathon/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php(48): WPML\ST\MO\Hooks\LanguageSwitch->switchToLocale('en_US')
#3 /var/www/mellemgaard.com/marathon/wp-includes/class-wp-hook.php(326): WPML\ST\MO\Hooks\LanguageSwitch->languageHasSwitched('en')
#4 /var/www/mellemgaard.com/marathon/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#5 /var/www/mellemgaard in /var/www/mellemgaard.com/marathon/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php on line 139