Please make sure to update to WPML 4.3.6 and check our list of Known Issues before reporting
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.
The language selector automatically redirects to the home page.
The client is using Superfly Menu + Superfly Menu Toolbar's built-in language switcher. The plugin is calling the wpml_active_languages filter too early.
-edit the file wp-content/plugins/superfly-extension-toolbars/src/Frontend/SFET_Frontend.php line 90 to:
add_action('wp', array($this, 'init_lang_switcher'));