Fatal error: Uncaught exception 'Error'

Message: Call to undefined method WP_Textdomain_Registry::reset()

Stack trace:
#0 /var/www/vhosts/theyinspire.ca/123portal-workwiththey.com/site/addons/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php(119): WPML\ST\MO\Hooks\LanguageSwitch->resetTranslationAvailabilityInformation()
#1 /var/www/vhosts/theyinspire.ca/123portal-workwiththey.com/site/addons/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php(73): WPML\ST\MO\Hooks\LanguageSwitch->changeMoObjects()
#2 /var/www/vhosts/theyinspire.ca/123portal-workwiththey.com/site/addons/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php(48): WPML\ST\MO\Hooks\LanguageSwitch->switchToLocale()
#3 /var/www/vhosts/theyinspire.ca/123portal-workwiththey.com/cms/wp-includes/class-wp-hook.php(326): WPML\ST\MO\Hooks\LanguageSwitch->languageHasSwitched()
#4 /var/www/vhosts/theyinspire.ca/123portal-workwiththey.com/cms/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#5 /var/www/vhosts/theyinspire.ca/123portal-workwiththey.com/cms/wp-includes/plugin.php(517): WP_Hook->do_action()
#6 /var/www/vhosts/theyinspire.ca/123portal-workwiththey.com/site/addons/sitepress-multilingual-cms/sitepress.class.php(1170): do_action()
#7 /var/www/vhosts/theyinspire.ca/123portal-workwiththey.com/site/addons/sitepress-multilingual-cms/sitepress.class.php(2889): SitePress->switch_lang()
#8 /var/www/vhosts/theyinspire.ca/123portal-workwiththey.com/site/addons/sitepress-multilingual-cms/classes/seo/class-wpml-seo-headlangs.php(45): SitePress->get_ls_languages()
#9 /var/www/vhosts/theyinspire.ca/123portal-workwiththey.com/cms/wp-includes/class-wp-hook.php(324): WPML_SEO_HeadLangs->head_langs()
#10 /var/www/vhosts/theyinspire.ca/123portal-workwiththey.com/cms/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#11 /var/www/vhosts/theyinspire.ca/123portal-workwiththey.com/cms/wp-includes/plugin.php(517): WP_Hook->do_action()
#12 /var/www/vhosts/theyinspire.ca/123portal-workwiththey.com/cms/wp-includes/general-template.php(3050): do_action()
#13 /var/www/vhosts/theyinspire.ca/123portal-workwiththey.com/site/themes/default_theme/header.php(15): wp_head()
#14 /var/www/vhosts/theyinspire.ca/123portal-workwiththey.com/cms/wp-includes/template.php(810): require_once('/var/www/vhosts...')
#15 /var/www/vhosts/theyinspire.ca/123portal-workwiththey.com/cms/wp-includes/template.php(745): load_template()
#16 /var/www/vhosts/theyinspire.ca/123portal-workwiththey.com/cms/wp-includes/general-template.php(48): locate_template()
#17 /var/www/vhosts/theyinspire.ca/123portal-workwiththey.com/site/themes/default_theme/templates/layouts/main.php(25): get_header()
#18 /var/www/vhosts/theyinspire.ca/123portal-workwiththey.com/library/They/Template/TemplateUtil.php(138): require('/var/www/vhosts...')
#19 /var/www/vhosts/theyinspire.ca/123portal-workwiththey.com/library/They/Template/TemplateUtil.php(199): They\Template\TemplateUtil::getTemplate()
#20 /var/www/vhosts/theyinspire.ca/123portal-workwiththey.com/library/They/_functions/template.php(19): They\Template\TemplateUtil::getLayout()
#21 /var/www/vhosts/theyinspire.ca/123portal-workwiththey.com/site/themes/default_theme/index.php(2): they_get_layout()
#22 /var/www/vhosts/theyinspire.ca/123portal-workwiththey.com/cms/wp-includes/template-loader.php(106): include('/var/www/vhosts...')
#23 /var/www/vhosts/theyinspire.ca/123portal-workwiththey.com/cms/wp-blog-header.php(19): require_once('/var/www/vhosts...')
#24 /var/www/vhosts/theyinspire.ca/123portal-workwiththey.com/index.php(17): require('/var/www/vhosts...')
#25 {main}
thrown in /var/www/vhosts/theyinspire.ca/123portal-workwiththey.com/site/addons/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php on line 139