This thread is resolved. Here is a description of the problem and solution.
Problem:
You are trying to set your site as the 'production' site and remove the 'development site' notice. You used the site key from the staging site during development and now need to update it, but the 'Plugin installation' screen is disabled because you update plugins via Composer, not the WP administration interface. You are considering changing it directly in the database.
Solution:
First, locate the site key in your database. You can find it in the
wp_options
table under the option name 'icl_sitepress_settings'. Use the following SQL query to locate it:
SELECT * FROM `wp_options` WHERE option_name='icl_sitepress_settings'
In the results, look for 'site_key' within the large string and modify the value, ensuring it is exactly 10 characters long.
Alternatively, you can remove the current key and generate a new one that is not set as a dev site by visiting https://wpml.org/account/sites/. After generating the new key, go to your website's backend > Plugins > Add new > Commercial, and unregister WPML from the current dev key and register it with the new key. If you do not have access to this area, consider using the CSS alternative provided in the forum post here.
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. If you still need assistance, please open a new support ticket here.
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.
This topic contains 2 replies, has 2 voices.
Last updated by 2 years, 4 months ago.
Assisted by: Mihai Apetrei.