Problem: If you're experiencing issues with URLs being incorrectly generated with repeated language codes, like 'https:///en/en/en/en…', when switching languages on specific subpages, this might be due to incorrect settings. Solution: First, we recommend checking the URLs in your WordPress Settings under General to ensure they are set correctly. If these settings appear correct, the issue might be due to a missing value in your database that affects URL generation. We resolved a similar issue by adding the necessary value HomeURL to the database to the wp_options table. If this solution seems irrelevant or outdated, or if you're still facing issues, please check the related known issues and confirm that you have installed the latest versions of themes and plugins. If the problem persists, we highly recommend opening a new support ticket for personalized assistance. You can do so here: WPML Support Forum.
Problem: If you're experiencing issues with your menu section being messy and showing duplicated menus, Solution: we recommend temporarily disabling WPML and then resaving your main menu. This action has resolved similar issues in the past. However, if this solution does not apply to your case, or if it seems outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins.
If the problem persists, please do not hesitate to open a new support ticket with us for further assistance at WPML support forum.