How to Fix Updating Failed

How to Fix Updating Failed and Publishing Failed Errors in WordPress Page and Post Editor

How to Fix Updating Failed

Keeping WordPress sites up to date is important. At the same time updating can cause problems. Of course, you need to resolve those problems as soon as possible. So let’s fix WordPress publishing failed and updating failed error messages. First, we’ll start with easy to try out solutions. If the first solution does not fix the issue continue reading and hopefully, you’ll fix the WordPress Updating Failed error by the end of this tutorial.

Disabling Gutenberg editor and installing classic editor plugin

In case, you recently updated WordPress there was an editor update. You maybe don’t know this, but WordPress version 5 uses a new editor called Gutenberg. Gutenberg is a drag-and-drop block editor. Editor updating to Gutenberg block editor is probably what caused the issue. Because of this, We decided to present you with a simple fix for your problem. Given that Gutenberg WordPress editor might cause issues, you should disable Gutenberg editor and go back to the old classic editor plugin. To do so follow these steps:

  1. First, go to Settings in your WordPress admin console.
  2. Then click on the Writing sub-menu.
  3. In Default editor for all users select Classic Editor plugin.

How to disable Gutenberg editor

Installing classic editor – WordPress Updating Failed and Publishing Failed Errors

If you don’t have a classic WordPress editor as an option you need to install it first. To do this:

  1. Go to the Plugins menu in your WordPress admin console.
  2. Then click on Add New sub-menu.
  3. On the right side, there is a search box type classic editor into the search box.
  4. Now you should see the Classic WordPress Editor plugin as an option to install. Make sure you install and activate the Classic WordPress Editor plugin. The button should be grayed out and it should say that plugin is Active.

You can double-check if you are using the classic editor plugin. Go to settings in your WordPress admin console. Then click on the writing sub-menu. And finally, under default editor for all users check that classic editor plugin is active.

How to install the Classic WordPress Editor plugin

Installing a classic post editor should resolve WordPress error messages. If it did, you might be wondering what has caused this conflict. Usually, conflict is related to having some page builder plugin that is conflicting with the Gutenberg editor. In case you like the look of Gutenberg editor you should try enabling it after the next plugin update.

However, if this did not fix WordPress for you, we have more solutions that you should try out.

Activating debug mode

Activating debug mode might give you a hint of why WordPress updating failed. However, to try this out you’ll need FTP access to your host server. With FTP you get access to all files on your host server. This gives you the power to change anything on the host server. That is a good thing but with great power comes great responsibility. Make sure you don’t delete or change something by mistake. That said you should follow these steps to activate debug mode:

    1. First, access your host server via FTP.
    2. In your WordPress folder find a file named wp-config.php.
    3. Open wp-config.php with a text editor of your choice.
    4. Then add define('WP_DEBUG', true); to wp-config.php.
    5. Don’t forget to save wp-config.php or this won’t work.

Activating WordPress debug mode in wp-config.php

If you no longer need debug mode to be active. You can simply remove define('WP_DEBUG', true); from your code. Alternatively, you can change code to define('WP_DEBUG', false);

WordPress Updating Failed  – Deleting .maintenance file

To try this out you’ll need FTP access. To delete .maintenance file follow these steps:

  1. First, access your host server via FTP.
  2. Then Find .maintenance file in the WordPress folder. Depending on your FTP program you might not see files starting with a dot in front of the file name. The file that has a dot in front of a file name is counted as a hidden file. If you can’t see it consult manual for your FTP program. Find an option to show hidden files or files that start with a dot. Alternatively, you can log in to your server’s control panel and use the file manager there.
  3. Last, just Delete .maintenance file.

How to delete .maintenance file - wordpress updating failed

.maintenance file should usually expire after 10 minutes. That been said in some cases it does not. So manual deleting this file might fix the issue.

WordPress Updating Failed  – Troubleshooting WordPress plugins

In case, nothing helped you so far you can try this. Deactivate all plugins and then test to see if you still get error messages. To do this follow these steps:

  1. First, go to the Plugins menu in your WordPress admin console.
  2. Then click on Installed Plugins
  3. Select all plugins
  4. Click on Bulk Actions
  5. Then click on Deactivate
  6. Last, click Apply button

Selecting all plugins - wordpress updating failed

Deactivating all plugins - wordpress updating failed

After, you disabled all plugins start enabling plugins one by one to see which one will break WordPress again. Then you’ll need to do some research for that plugin to see how to resolve your problem. 

If you need help with fixing WordPress Updating Failed and Publishing Failed Errors, contact our support team. Our team of support engineers will help you with any type of WordPress problems.

Two extra tips to try out – WordPress Updating Failed 

  1. Some users restarted apache and that fixed the issue for them so try this out. 
  2. You can also try tweaking permalink settings!. 

We hope that one of these solutions fixed the issue you where having. Thank you for reading.

More Resources: