Skip Navigation

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

Problem:
You are trying to update plugins on your site but encounter an error stating 'Update failed: undefined' along with a message indicating that the WPML plugin cannot connect to wpml.org. This issue typically arises when the site URL and the registered site URL do not match, possibly due to differences in 'www' usage.
Solution:
To resolve this, follow these steps:
1. Log in to your WPML.org account and navigate to the Sites page.
2. Delete the existing site key.
3. Log in to your site's dashboard, go to Plugins > Add New > Commercial tab, and click Unregister WPML from this site if available.
4. Click Register WPML.
5. Click Get a key for this site, then copy and paste the generated key into the input box and press the Register button.
6. Take a backup of your site and update the WPML plugins to the latest version.
If the issue persists, go to WP Dashboard Menu > Updates and press the "Check again" link.

If this solution does not apply to your case, or if it seems outdated, we recommend checking the related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. Should the problem continue, please open a new support ticket.

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 1 reply, has 0 voices.

Last updated by emanuele 1 week, 5 days ago.

Assisted by: Noman.

Author Posts
May 3, 2025 at 9:48 am #16991647

emanuele

Background of the issue:
I am trying to update plugins on my site hidden link. The plugins I am trying to update are WooCommerce Multilingual & Multicurrency, WPML All Import, WPML Multilingual CMS, and WPML String Translation.

Symptoms:
I get an error saying 'Update failed: undefined' and a message saying 'WPML plugin cannot connect to wpml.org. WPML needs to connect to its server to check for new releases and security updates. Something in the network or security settings is preventing this. Please allow outgoing communication to wpml.org to remove this notice'.

Questions:
Can you please explain what to do to fix the connection issue with wpml.org?

May 3, 2025 at 5:38 pm #16992218

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 happens when the site URL and registered site URL are not the same e.g. with www or without www. Could you please delete the existing site key and create a new one by following the below steps:

1. Please login to your WPML.org account >> Go to the Sites page: https://wpml.org/account/sites/
2. Delete the existing site key (if it exists).
3. Please login to your site and go to the Dashboard >> Plugins >> Add new plugin > Commercial tab and click the Unregister WPML from this site link if that link exists.
4. Then please click the Register WPML link.
5. Click the Get a key for this site link.
6. It will generate the Key for your site.
7. Copy the key, and paste it back into the input box, and press the Register button.
8. Then, please take a backup of your site and update WPML plugins to the latest version.

If the “WPML plugin cannot connect to wpml.org” notifications still persists, please try the below procedure:
1. Go to WP Dashboard Menu >> Updates.
2. Press the "Check again" link as you can see in the attached screenshot and see if this resolves the issue.

Kindly let me know the results,
Thank you

Check_Again_link.png
Step 3 - Get a key for this site.png
Step 2 - Register WPML.png
Step 1 - unregister wpml.png
May 3, 2025 at 10:56 pm #16992501

emanuele

it worked, thanks