Background of the issue:
I am trying to update the WPML plugin using the GitHub desktop application on Windows. This issue has been ongoing, and I have had to revert updates twice already.
Symptoms:
Whenever we attempt to update plugins, other team members who fetch the same branch, like development, encounter an error message: "Error cannot stat."
Questions:
What causes the 'Error cannot stat' message when updating plugins?
How can I resolve the stat-related error to update the WPML plugin successfully?
I believe the issue is specific to our attempt to update WPML, as it doesn't seem to affect other plugin updates or our related code deployments. We've tried updating to versions 4.7.15 and 4.7.14 without encountering any issues, but these updates have caused UI problems on our websites.
I have thoroughly checked each new version available on the WPML side and had to revert them one by one after testing. The current working version is 4.6.14 by OnTheGoSystems. However, we need to update to at least version 4.7.0 to work on string translations.
We are encountering the following error while working with string translations:
"You are running updated gravityforms-multilingual and wpml-string-translation, but the following components are not updated: sitepress-multilingual-cms (required version: 4.7.0)."
We are encountering the following error while working with string translations:
"You are running updated gravityforms-multilingual and wpml-string-translation, but the following components are not updated: sitepress-multilingual-cms (required version: 4.7.0)."
This message indicates that you have updated the WPML plugin/s, but not the rest. When updating WPML plugins, it is crucial to ensure that all WPML plugins are updated to versions of the same release date to maintain full compatibility and avoid potential issues.
We have successfully updated the "String Translation" as there were no issues. However, we are encountering a problem while updating another WPML component: sitepress-multilingual-cms. You can see the issue here: hidden link
It is crucial for us to resolve this error: "You are running updated gravityforms-multilingual and wpml-string-translation, but the following components are not updated: sitepress-multilingual-cms (required version: 4.7.0)."
We understand this error, and while updating from our current sitepress-multilingual-cms version (Stable tag: 4.6.14), we were able to update to version 4.6.15.
However, when attempting to update to version 4.7.0 or 4.7.6, we faced issues. As an admin with read-write access to our GitHub repository, I was able to update the plugin successfully, similar to how we handled the String Translation update. Nevertheless, my team is unable to fetch the updated plugin.
Additionally, when I update to Stable tag: 4.6.15, my team can fetch the fully updated plugin, but this update is causing our multisite network and websites to malfunction. It appears they are entering a loop.
Could you please assist us in resolving these issues?
Outdated WPML versions can present compatibility issues with the latest versions of WordPress. To ensure stability and benefit from the most recent bug fixes and improvements, we recommend always using the newest version (currently, it is 4.7.6).
Regarding the GitHub issue, I re-examined both your initial report and the differences between WPML versions 4.6.15 and 4.7.6. The reason you’re not seeing the problem with version 4.6.15 is that the SaveAutomaticTranslationsSettingsController.php file doesn’t exist in that version yet.
Unfortunately, there’s nothing further we can assist with from the WPML side. As Drazen mentioned, this needs to be addressed within your GitHub workflow or integration.
If WPML is registered on your site, you can update it by going to Plugins → Add New → Commercial tab and checking for updates there.
Despite fixing the GitHub issue, we are still encountering problems. After updating the plugin, none of our websites are functioning properly; they just keep loading where the plugin has been activated.
So we need to degrade the plugin after checking and testing all.
At : WPML Multilingual CMS v 4.6.13 they are working only.
: We are following : Removing the old folder and keeping the new updated one there on same location inside /plugins
Best regards,
Himani
New threads created by Andrey and linked to this one are listed below:
Thank you for your feedback. I’m glad to hear the GitHub issue has been resolved.
I’ve opened a new support ticket for your latest issue to ensure we don’t mix multiple topics in one thread. This also helps other users find relevant solutions more easily when searching the forum.