Background of the issue:
I am trying to update the WPML plugin via the server's cron job using WP-CLI. The update process involves enabling maintenance mode, downloading the update from a specific URL, and then disabling maintenance mode. Here is the code snippet of the process: WordPress is up to date. Enabling Maintenance mode... Success: Activated Maintenance mode. Downloading update from https://wpml.org/?download=6088&version=4.7.6&site_key=HIDDEN&site_url=https%3A%2F%2FHIDDEN&wpml_version=4.7.4... Warning: Download failed. "Not Found" Disabling Maintenance mode... +----------------------------+-------------+-------------+--------+ | name | old_version | new_version | status | +----------------------------+-------------+-------------+--------+ | sitepress-multilingual-cms | 4.7.4 | 4.7.6 | Error | +----------------------------+-------------+-------------+--------+ Error: No plugins updated (1 failed). Theme already updated. Translations are up to date.
Symptoms:
The WPML plugin update fails with a 'Not Found' error when attempting to download the update from the provided URL. The error message indicates that no plugins were updated and one failed.
Questions:
Why is the old URL used in the plugin?
Why isn't the URL redirected at wpml.org?
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.