Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client is using the Bedrock setup which disables plugin installation from the admin area, and they cannot access the commercial tab to add the key. They attempted to add the OTGS_INSTALLER_SITE_KEY_WPML to the .env file and made changes to wp-config.php, but they are encountering an error stating that the site key is invalid.
Solution:
We recommend checking the URLs in the database to ensure that only one is present and it matches in both places. The client should also verify that the domain added to their WPML account (http://wpml.org/account/sites/) is the correct main domain for the site. The error message indicates that the URL used for the WPML key does not match the expected value. If the client confirms that the URLs are correct and the issue persists, they should remove the constant

OTGS_INSTALLER_SITE_KEY_WPML

from wp-config.php or replace it with the correct value.

If this solution does not seem relevant, please open a new support ticket at the 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.

Tagged: 

This topic contains 0 reply, has 2 voices.

Last updated by Mihai Apetrei 1 year, 5 months ago.

Assisted by: Mihai Apetrei.

Author Posts
January 12, 2024 at 5:28 pm #15180414

glennaT

We are using the Bedrock setup which disables the plugin installation from the admin area so I can not access the commercial tab to add the key.

So I found a way to do it with OTGS_INSTALLER_SITE_KEY_WPML (From the previous responses of the WPML forum) from wp-config.php so I have added that to my .env file and done the required changes to my wp-config.php and I confirm the key is accessible.

Please help me resolve the error.

You are using an invalid site key defined as the constant OTGS_INSTALLER_SITE_KEY_WPML (most likely in wp-config.php). Please remove it or use the correct value in order to be able to register correctly.