Skip to content Skip to sidebar

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

Problem:
The client is unable to update plugins in WordPress after renewing their account. They encounter a message indicating that the account is expired and registration is required for automatic updates, with the registration link redirecting back to the website.
Solution:
If you're experiencing this issue, we recommend deleting the old license key and generating a new one. Here are the steps to follow:
1. Log in to your WPML.org account and navigate to the Sites page.
2. Delete the existing site key and create a new one.
3. Edit the 'wp-config.php' file in your WordPress installation and insert the following line of code:

define('OTGS_INSTALLER_SITE_KEY_WPML', 'your-site-key');

Place this line right above:

/* That's all, stop editing! Happy publishing. */

4. Visit the Plugins >> Add New Plugin > Commercial tab page again to see if the message disappears.
Following these steps should allow you to update WPML automatically from the WordPress interface. For more details, you can refer to this documentation: Automatic WPML Registration Using PHP.

If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable to your 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 needed, please open a new support ticket at WPML support forum for further assistance.

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 2 replies, has 0 voices.

Last updated by 市场部 宝锐 2 weeks ago.

Assisted by: Noman.

Author Posts
August 12, 2025 at 3:35 am #17311710

市场部 宝锐

Background of the issue:
I am trying to update plugins in WordPress. I have renewed the account and downloaded the new version of otgs-installer-plugin, sitepress-multilingual, and wpml-string-translation. The site is under development.

Symptoms:
There is a message indicating that my account is expired, and registration is required to use automatic updates. Clicking the registration link just redirects to the website.

Questions:
How can I resolve the issue of my account showing as expired after renewal?
How can I update the plugin in wordpress

August 12, 2025 at 7:47 am #17312225

Noman
WPML Supporter since 06/2016

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for contacting WPML Support. This issue usually occurs when WPML is registered with an expired license key. After buying/renewing the license, we recommend deleting the old key and generating a new one by following these steps:

1. Login to your WPML.org account >> Go to the Sites page: https://wpml.org/account/sites/
2. Delete the existing site key and create a new one.

3. Edit the 'wp-config.php' file of your WordPress installation and place the following line of code:

define( 'OTGS_INSTALLER_SITE_KEY_WPML', 'your-site-key' );

4. Make sure to paste this line of code right above where it reads:

/* That's all, stop editing! Happy publishing. */

Please, get your site key from your wpml.org account and adjust the provided line of code accordingly.

5. After that, please go to the Plugins >> Add New Plugin > Commercial tab page again and see if that message goes away.

After following these steps, you should be able to update WPML automatically from the WordPress interface.

Here is a doc for more details:
https://wpml.org/faq/automatic-wpml-registration-using-php-for-easy-moves-between-production-development-and-staging/

6. If you want I can do the above steps on your site quickly, please provide temporary access (WP-Admin and FTP Login info) to your site, so that I can look into your setup and debug the issue.

Your next answer will be private, meaning only you and I can access it.

=== Please backup your database and website ===

Please let me know the results,
Thank you

August 12, 2025 at 9:55 am #17312796

Noman
WPML Supporter since 06/2016

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thanks for providing the login details. I fixed that expired account message. Now, you should be able to register WPML from WordPress interface by following the below steps:

1. Go to the Plugins >> Add New Plugin > Commercial tab page: hidden link
2. Click the Register WPML link.
3. Click the Get a key for this site link (screenshot attached).
4. It will generate the Key for your site from your WPML.org account.
5. Copy the key, and paste it back into the input box, and press the Register button.

Kindly let me know the results,
Thank you

Register WPML.jpg
Get a key for this site.jpg
August 12, 2025 at 10:07 am #17312836

市场部 宝锐

Thanks