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 find WPML updates in the Commercial tab despite knowing the site is several versions behind. The client also noticed a message stating 'WPML Update is Incomplete' due to outdated components. Additionally, the client discovered that the line

define('OTGS_DISABLE_AUTO_UPDATES', false);

in wp-config.php, intended to disable auto-updates for performance reasons, also inadvertently disabled manual updates.
Solution:
We have replicated a similar issue and reported it to our development team for review, aiming to address it in future updates. If you're experiencing this issue, we recommend temporarily removing

define('OTGS_DISABLE_AUTO_UPDATES', false);

line in your wp-config.php file to enable updates. Please ensure to check the related known issues and verify you have the latest versions of themes and plugins installed.

If this solution does not apply or is outdated, please open a new support ticket. We highly recommend visiting the 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.

This topic contains 9 replies, has 1 voice.

Last updated by Andrey 1 month, 3 weeks ago.

Assisted by: Andrey.

Author Posts
June 9, 2025 at 3:45 pm #17118957

luigiB-2

Background of the issue:
I am trying to update WPML on my site. I attempted to de-register and register WPML again, but it didn't help.

Symptoms:
I can't find WPML updates in the Commercial tab. The website says it doesn't find any updates, but I know it's several versions behind. I have a notice in the Upgrade page: WPML Update is Incomplete. You are running updated woocommerce-multilingual and wpml-string-translation, but the following components are not updated: sitepress-multilingual-cms (required version: 4.7.0).

Questions:
Can you help me find WPML updates in the Commercial tab?
Why does the website say it doesn't find any updates when I know it's several versions behind?

June 9, 2025 at 4:04 pm #17119037

luigiB-2

I found out that we added
define('OTGS_DISABLE_AUTO_UPDATES', false);
in wp-config.php to improve performances; it should disable auto updates but it disabled also manual updates. Now I am able to update, but this could be an issue in the future.
Thank you

June 9, 2025 at 4:11 pm #17119056

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Thank you for contacting WPML support.

I suggest testing it with constant’s value set to true.

If you set this constant’s value to true, WPML and Toolset will stop automatically checking for updates. You will need to check for updates manually.

WPML Constants: https://wpml.org/documentation/support/wpml-coding-api/wpml-constants/#otgs_disable_auto_updates

June 10, 2025 at 9:03 am #17120983

luigiB-2

Sorry, I miswrote the last message.
We defined it as true; it prevented not only automatic updates but also manual ones. This could be a bug to investigate, maybe?
Thank you
Luigi

June 10, 2025 at 1:25 pm #17122009

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Thank you for your feedback, Luigi.

I’ve just tested this in a local environment and wasn’t able to replicate the issue. This worked as expected with the constant defined. It’s possible that the “Check for updates” button wasn’t clicked, or if the site was recently moved and not re-registered, the update functionality may not work correctly.

Could you please share the exact steps you followed so I can retest it under the same conditions?

June 10, 2025 at 2:27 pm #17122403

luigiB-2

Sure. I tried everything before contacting you, of course 🙂
I tried to update via WordPress updates page, without results. I spammed the button Check for updates, in the context I sent in the first message, without results. I then proceeded to remove the key and put the same key again, without results. At the end I removed completely the website from the account here on wpml.org and recreated it, put the new key on the website, clicked Check for updates, no results.
It changed only when I removed the OTGS_DISABLE_AUTO_UPDATES define in wp-config.
Hope it helps debug the issue

June 10, 2025 at 2:36 pm #17122426

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Thanks for the updates 🙂

Yes, you seem to have done all the troubleshooting steps. I have taken the same steps, but it works. I feel it could have happened under specific circumstances. Do you have a staging site where I can test this? Just in case, I set the following reply as private.

June 10, 2025 at 2:38 pm #17122430

luigiB-2

Unfortunately we don't have a staging website nor the tools to create one for this website 😐 I already shared the debug log, let me know if I can provide you any other additional information.

June 10, 2025 at 2:51 pm #17122454

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

You’ve already provided all the necessary information—thank you. I’ll proceed with some local testing to try to replicate the issue. If I uncover anything noteworthy, I’ll report it to our development team. Thank you for bringing this to our attention.

June 10, 2025 at 3:31 pm #17122642

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

I was able to replicate a similar issue and have reported it to our development team. Hopefully, it’s the same one you’ve encountered. They will review it and aim to address it in future updates. Thank you.