This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
This thread is resolved. Here is a description of the problem and solution.
Uncaught TypeError: Fatal error: Uncaught TypeError: Argument 1 passed to WPML_Slash_Management::parse_missing_host_from_path() must be of the type array, boolean given, called in /home/forconf6/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/url-handling/converter/strategy/class-wpml-url-converter-domain-strategy.php on line 101 and defined in /home/forconf6/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/utilities/class-wpml-slash-management.php:110 Stack trace: #0 /home/forconf6/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/url-handling/converter/strategy/class-wpml-url-converter-domain-strategy.php(101): WPML_Slash_Management->parse_missing_host_from_path(false) #1 /home/forconf6/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/url-handling/converter/strategy/class-wpml-url-converter-domain-strategy.php(29): WPML_URL_Converter_Domain_Strategy->strip_protocol('https:///') #2 /home/forconf6/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/url-handling in /home/forconf6/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/utilities/class-wpml-slash-management.php on line 110
-backup your site completely
-go to 'wpl1_options' table and search for "icl_sitepress_settings"
There edit the key and change:
Then go to WPML > Languages and set "Different domain per language" and ENTER A VALID domain for ALL LANGUAGES. The problem happens because there is NO domain for the second language.