From some known errors in WordPress Gutenberg editor. The updating failed issue can be really frustrating. While you are writing an article or page. You start seeing error on top Updating failed. This can be really problem because you were having no problem till now to publish or save draft new pages/posts. If you are also facing issue while writing a post updating failed. There can be several reasons for example your network is unavailable or your server is not responding.
There can be many other problems along updating failed. For example the categories are not displaying on right side under document tab. So the problem is WordPress or your server is not returning or communicating with website.
Things to do before troubleshooting post updating failed issue.
If you were typing your article or page directly on WordPress gutenberg editor without wasting any time save your work somewhere else. Because the work you are doing is not being saved by WordPress at all as its updating failed.
How to fix Post updating failed in WordPress?
There can be several reasons updating failed issue can come up. On top of all i would state the solution which works mostly for us. Later i will explain other ways to troubleshoot the problem. Every website and installation have different issues and so trial and errors are possible. Before going forward i hope you have saved your article or page somewhere else.
Logout and Login again clearing your cookies and cache
When you login to WordPress there are few variables WordPress set about you like nonce and other security strings. Its possible that they are not set properly and you might see your console like the image below.
Since the console saying some files are not loading you might think your WordPress installation is corrupt. Which can be true but this can also be cause of security issues and not set proper security strings while you logged in this time.
- Clear your WordPress cache if you are using any cache plugin
- Now logout your WordPress
- Before login please clear your browser cache (Try without clearing to login if you want to keep cache. If no success then clear it.)
- Login your WordPress and see if problem is solved otherwise move to other section.
If custom taxanomy is not loading for you or post categories are not loading for you in that case you can also try above method.
Re install your WordPress Installation
Updating failed issue can also arise if you have corrupt or missing WordPress files. The best way to come out this issue is re install your WordPress. However you can automatically re install WordPress but sometime server’s permission don’t allow you to do this automatically. Let’s see first how you can re install WordPress automatically.
- Go to wp-admin >> Dashboard >> Updates
- Find the button Re-install Now click on that.
- After this logout and login again and check if problem is fixed.
Manually re install WordPress
As stated above sometime server permissions or security settings don’t allow you to automatically re-install WordPress. In this case login your FTP or access file manager through cPanel and follow steps below.
- Delete wp-admin directory completely.
- Delete wp-includes directory completely.
- Delete all other files except wp-config.php and .htaccess
- Do not delete wp-content/ directory , wp-config.php file and .htaccess file
- Now download latest version of WordPress from wordpress.org
- Extract in local directory and delete wp-content from your downloaded version.
- Upload everything except wp-content.
- Logout wp-admin and re login and check if issue resolved.
Deactivate plugins and check
If your post updating failed or page updating failed issue have not gone yet. Else your categories or custom taxnomies are not displaying to select on right side. Now its time to deactivate your plugins and check if problem is with a plugin.
- Access wp-content/ directory through FTP or file manager.
- In wp-content/ rename plugins/ to something like pluginssss/
- Now re login and check if problem is gone by creating a sample post.
- If problem gone that assures problem was with plugin.
- Change back pluginssss/ to plugins/ and now deactivate each plugin one by one to find out which plugin is making problem get rid of that.
Activate default WordPress Theme to check
Another thing you can try is activate default WordPress theme this might also help you. Don’t forget to re login if problem is with your theme then you need help of WordPress developer.
Last but not least Debug mode on
Another thing you can try is activate debug mode to see if your site is generating any errors. Since the issues are being stated in browser’s console but its always good idea to check server errors. Download and edit wp-config.php file so you can turn debug mode on.
Change
/**
* For developers: WordPress debugging mode.
*
* Change this to true to enable the display of notices during development.
* It is strongly recommended that plugin and theme developers use WP_DEBUG
* in their development environments.
*
* For information on other constants that can be used for debugging,
* visit the Codex.
*
* @link https://codex.wordpress.org/Debugging_in_WordPress
*/
define('WP_DEBUG', true);
In above code WP_DEBUG, TRUE means its active now you can upload wp-config.php to find out server errors and try to fix them.
Reset Permalink Structure to default & remove .htaccess
We have seen some people saying by changing permalink structure to default helped them. However this solution seems related to .htaccess file issue. So kindly try to delete .htaccess file also or rename it .htaccessbkup after setting your permalinks to default. And see if your problem is resolved then contact your hosting company to ask them the reason server blocks WordPress features.
Are you sure your website is loading fine? No network issue.
Try to access other websites on different tab if they load fine means you have correct internet connection. Now try to load your website on different tab if that does not load. Your server can be down for a while please hold or contact your hosting to resolve the issue why your site is not loading.
Don’t have technical knowledge?
Actually for some users these can be really technical issues to fix. Don’t worry we are here to help you just get in touch with us. You can also check our WordPress maintenance service which keep you secure all these type of issues. Thanks i hope i helped you.