Problem: The client is experiencing issues with WPML where it frequently requires reconfiguration. The dashboard displays an error indicating that the site key is incorrect and that the REST API is disabled, although it is not. Attempts to resolve the issue by generating a new site key and re-registering have been unsuccessful. Solution: 1. Verify if the issue persists without activating the WPML license. You might be able to complete the configuration without activating the license. 2. Deactivate and delete the current version of WPML, then reinstall the latest version from https://wpml.org/downloads/. 3. Check the wp_options table in your database as the WPML configuration settings are stored there. It's possible that these settings are being removed or wiped clean, necessitating repeated reconfigurations. 4. Ensure you have a full backup of your database and website before proceeding with any changes. We recommend using the Duplicator plugin, available at http://wordpress.org/plugins/duplicator/.
If these steps do not resolve your issue, or if the solution provided here becomes outdated or does not apply to your specific case, 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 problems persist, please open a new support ticket at WPML support forum.