WordPress update error: "Automatic upgrade of WordPress failed - please try again" prompt solution

888u

Last update at :2024-06-09,Edit by888u

Snail 789 small blog is built using WordPress. The WordPress version is updated more frequently. Snail also likes to experience new things. This may be due to obsessive-compulsive disorder. When he sees an update prompt in the background, he wants to click on it. However, the latest version of WordPress 5.2.4 pushed out today shows an update prompt. After clicking on the update, the prompt "Automatic upgrade of WordPress failed - please try again." appears, and it is always displayed at the top of the background, which looks particularly uncomfortable. So I looked for a solution on how to get rid of the “Automatically upgrade WordPress failed – please try again” prompt, and recorded it in this article for future use. The method is very simple and can be completed in only two steps.

1. Find update.php

When prompted with an upgrade error, our first choice is to go to the server and find the WordPress upgrade file "update.php" in the "/wp-admin/includes" directory. Snail uses the Pagoda Linux panel and directly uses online file management to find the corresponding files. If you are interested in the Pagoda Linux panel, you can check out this article. There is a free version and a paid professional version: #网站structionpanelrecommendation# Simple, easy to use and easy to use Get started with the Linux website building panel/Pagoda Linux panel professional version/first month trial for 0.99 yuan/annual payment of 382 yuan/three years of 716 yuan/lifetime license of 1,388 yuan.

2. Delete error prompt code

Then delete the following code in the "update.php" file. You can cancel the "Automatically upgrade WordPress failed - please try again." prompt. Do you feel much more refreshed after canceling?

echo \"$msg\";

Recommended site search: free virtual host application, free cloud server, mainland China proxy server IP, Hong Kong high-defense server, Hengchuang host, Guangzhou server hosting, independent IP, record query, free asp space application, personal virtual host,

WordPress update error:

All copyrights belong to 888u unless special state
取消
微信二维码
微信二维码
支付宝二维码