I was debugging an other issue so I deactivated a couple plugins. When I tried to activate WPML Multilingual CMS again I got this error message. This happened on my live website so any help to get it back running again is appreciated!
Because the plugin is deactivated I can't provide debug info 🙁
Fatal error: Uncaught Error: Call to a member function get_current_language() on null in /home/deb8012n2/domains/windhondenwebshop.net/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/url-handling/converter/class-wpml-url-cached-converter.php:18 Stack trace: #0 /home/deb8012n2/domains/windhondenwebshop.net/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/url-handling/converter/filters/class-wpml-lang-domain-filters.php(56): WPML_URL_Cached_Converter->convert_url('hidden link...') #1 /home/deb8012n2/domains/windhondenwebshop.net/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/url-handling/converter/filters/class-wpml-lang-domain-filters.php(61): WPML_Lang_Domain_Filters->{closure}('hidden link...') #2 /home/deb8012n2/domains/windhondenwebshop.net/public_html/wp-includes/class-wp-hook.php(308): WPML_Lang_Domain_Filters->upload_dir_filter_callback(Array) #3 /home/deb8012n2/domains/windhondenwebshop.net/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters( in /home/deb8012n2/domains/windhondenwebshop.net/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/url-handling/converter/class-wpml-url-cached-converter.php on line 18
Fatal error: Uncaught Error: Call to a member function get_current_language() on null in /home/deb8012n2/domains/windhondenwebshop.net/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/url-handling/converter/class-wpml-url-cached-converter.php:18 Stack trace: #0 /home/deb8012n2/domains/windhondenwebshop.net/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/url-handling/converter/filters/class-wpml-lang-domain-filters.php(56): WPML_URL_Cached_Converter->convert_url('hidden link...') #1 /home/deb8012n2/domains/windhondenwebshop.net/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/url-handling/converter/filters/class-wpml-lang-domain-filters.php(61): WPML_Lang_Domain_Filters->{closure}('hidden link...') #2 /home/deb8012n2/domains/windhondenwebshop.net/public_html/wp-includes/class-wp-hook.php(308): WPML_Lang_Domain_Filters->upload_dir_filter_callback(Array) #3 /home/deb8012n2/domains/windhondenwebshop.net/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters( in /home/deb8012n2/domains/windhondenwebshop.net/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/url-handling/converter/class-wpml-url-cached-converter.php on line 18