Problem: After migrating a site from a staging to a live environment, two main issues arose: 1) The WPML site key was not working due to a domain change (adding 'www'), and 2) the language switcher arrow on the homepage displayed as '3' instead of the correct arrow, while other pages displayed correctly. Solution: For the WPML site key issue: 1. Unregister WPML from your site by navigating to Plugins → Add New → Commercial and clicking 'Unregister WPML from this site'. 2. Generate a new site key for 'https://www.dupagelegalaid.org' from your WPML.org account and paste it back in the 'Commercial' tab. 3. Optionally, clean up your WPML.org account by removing the old site key.
For the language switcher display issue: 1. Clear all site and browser caches. 2. Resave Permalinks under Settings → Permalinks by clicking 'Save Changes'. 3. If the issue persists, it might be due to CSS referencing old staging URLs. Update these references in your database, regenerate Divi's static CSS, and clear caches again.
If these solutions do not resolve your issues or seem outdated, we recommend opening a new support ticket. Also, check related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. For further assistance, please visit our support forum at WPML Support Forum.