Skip Navigation

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

Problem:
The client was unable to update or reinstall WPML after deleting it due to an unresponsive 'Unregister WPML from this site' button, following a URL change and database update on a multisite. Additionally, the client needed to activate a new WPML license purchased under a different account.
Solution:
We recommended the following steps to resolve the issue:
1. Deactivate all plugins to prevent any interference.
2. Install the Adminer plugin to access and modify the server database directly.
3. Delete the old site key from the server database to remove any conflicts with the new license.
We asked the client to confirm that they have a backup before proceeding with these steps. After these adjustments, the client should attempt to register the new site key.

If this solution does not resolve your issue, or if it seems outdated or irrelevant to your specific case, we highly recommend opening a new support ticket. Additionally, please check the related known issues, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. For further assistance, you can also visit our 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 17 replies, has 2 voices.

Last updated by Kor 5 months, 3 weeks ago.

Assisted by: Kor.

Author Posts
May 27, 2024 at 1:21 pm #15674343

amigosS

Background of the issue:
I recently changed the URL of my website and updated the entire database. I attempted to activate the production mode of the WPML key but was unable due to an expired license. Subsequently, I purchased a new license with a different account and tried to activate it. My site is a multisite and is up to date with WordPress, WooCommerce, and other plugins.

Symptoms:
I am unable to update or reinstall WPML after deleting it. The 'Unregister WPML from this site' button is unresponsive.

Questions:
How can I reset everything related to WPML while preserving my translations and settings to ensure a clean installation of the new key?
What steps should I follow to successfully activate the new WPML license after the URL change?

May 27, 2024 at 3:15 pm #15674929

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your patience.

Here is the ticket. Please let me know when the site is ready to be checked by our 2nd Tier Support.

May 27, 2024 at 3:38 pm #15674974

amigosS

Sure thing.

The site is back online :
- WPML Multilingual CMS and WPML String Translations are deactivated.
- Once we activate them, I see admin-ajax.php called by wpml in my network tab in the inspector when I load a product page in the backoffice (or other pages I think) which causes a an excessive load of requests which causes the server to shut down.

Just so you know, we have a shared hosting. They put us in quarantine (but the server works like others) because of these excessive requests. We don't have any control on the reboot. So if the server shuts down, you'll have to wait something like 10minutes for it to come back alive.
the problem never happens if wpml plugins are deactivated.

The main issue is the excessives requests. The second (but as important as the first one) is that we can't unregister the license and put the new back. The best would be to reset the license setting and have a clean install of this.

Thank you

May 27, 2024 at 3:42 pm #15674993

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

I will escalate this now to our 2nd Tier Support and I will come back to you once I've feedback.

May 28, 2024 at 9:00 am #15677103

amigosS

Hello, I can see the plugin has been reactivated.
Can you let us know how's it going for you and let us know when you're done.

Also, don't forget to deactivate them if the issue is not fixed afterwards, so we can use the site (we use it in the background for some stuff, to update some products).

May 28, 2024 at 10:49 am #15677862

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

Yes, our 2nd Tier Support is checking on this. I don't have any feedbacks yet but I will come back to you as soon as I hear from them.

May 28, 2024 at 2:54 pm #15679364

amigosS

Alright thank you !
Can you just let us know when it's ok for us to work on it (we'll need to deactivate the wpml plugins to make sure the server won't shut down; so we want to make sure you're not working on it).
You can give us a schedule (from 00 to 00 CEST) and we'll respect it.
Thank you !

May 28, 2024 at 2:56 pm #15679381

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

We've tested a few codes suggested by our 2nd Tier Support and it's not working. Yes, you may work on the site now and I will message you again once I've another feedback.

May 28, 2024 at 3:11 pm #15679429

amigosS

Alright thank you ! let me know when you have some news

May 29, 2024 at 7:56 am #15681986

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

I have feedback from our devs and this is what we will perform on your Website.

1. Deactivate plugins

2. Install the adminer plugin to access the server database

3. Delete the site key from your server database.

Please confirm that you allow us to proceed and have a backup ready for this.

May 29, 2024 at 10:00 am #15682670

amigosS

Hello, database has been exported, you can go. Thanks

May 29, 2024 at 10:28 am #15682858

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Good to know. Our 2nd Tier Support will work on the site as soon as possible and I will update you once I've feedback.

May 29, 2024 at 3:45 pm #15684845

amigosS

Hello, no rush but can you give us an expected time for us to be able to work back on the site (same as yesterday, need to update some products). Meaning we'll deactivate the plugin if not fixed. Just want to make sure we aren't all on it at the same time.

And let me know if I have to import the backup or if we can go as is.

thank you

May 29, 2024 at 3:53 pm #15684849

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. This is fixed and could you please try registering your new sitekey? hidden link

May 29, 2024 at 4:57 pm #15685070

amigosS

Thank you !
The license registration worked well. That's great thanks.
But as soon as we actived it, we got the same issue with the request that breaks the site when on a product edit page (as soon as we load the page, there's an admin-ajax call from wpml that goes bad).

We need to update some product right now, so we deactivated the plugin but I'll send you another message tomorrow morning with more info about this so you can verify.

Thanks again for the license registration though, great job.