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.
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?
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
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
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?
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
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.
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.
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.
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.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.