Background of the issue:
I am trying to perform translations but encountered an issue with depleted credits. I received an error stating 'WPML plugin cannot connect to wpml.org' and 'wpml: Unable to register: Site key not matching' under the component: subscription-fetching. I attempted to unregister and register WPML again but was denied access with the message: 'Sorry, you are not allowed to access this page'. I manually updated the site key in the wp_options database table, specifically in the option_value of the icl_sitepress_settings option_name, but this did not resolve the issue.
Symptoms:
The error messages 'WPML plugin cannot connect to wpml.org' and 'wpml: Unable to register: Site key not matching' appeared. Additionally, I was unable to access the page to unregister WPML.
Questions:
How can I resolve the 'Site key not matching' error?
Why am I unable to access the page to unregister WPML?
Welcome to the WPML support forum. I will do my best to help you to resolve the issue.
Please try the workaround suggested in the following ticket after a full site backup and make sure you can access Plugins>>Add New>>Commerical Tab or not.