This thread is resolved. Here is a description of the problem and solution.
Problem:
If you're experiencing issues with your WPML license when deploying from a staging to a live environment, such as needing to refresh to remove the development banner, we can help.
Solution:
We recommend setting a different site key for each environment. This approach helps in managing the WPML license effectively across different setups. For detailed instructions on how to automate WPML registration using PHP for easy transitions between production, development, and staging environments, please visit this link.
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. Should you need further assistance, please do not hesitate to open a new support ticket at WPML support forum.
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.