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
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.