fix "Updating Failed" error while attempt to save changes to post/page in WordPress?

Collapse

Unconfigured Ad Widget

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • zayn_william
    Senior Member
    • Apr 2022
    • 106

    fix "Updating Failed" error while attempt to save changes to post/page in WordPress?

    Hello All,
    I am facing an issue in WordPress where I'm unable to save changes to a post or page due to an "Updating Failed" error, can you help me how to fix this error, your assistance would be immensely helpful.
  • Delaney martin
    Senior Member
    • Jun 2022
    • 113

    #2
    WordPress can sometimes send and receive calls to the WordPress database using a group of APIs (programming techniques) known as the REST API.





    How to fix the "Updating Failed" error in WordPress?

    1. Check the internet connection and site URL

    The loss of WiFi connection is the most frequent reason for the WordPress update failed error. WordPress won't save your modifications when you write a blog post on your computer and the internet goes off.

    Check your internet connection by opening a new browser tab and browsing other websites.

    The second thing to check is your site URL.
    1. Log into your WordPress Dashboard.
    2. Scroll down to Settings and choose General.
    3. Ensure that ‘Site Address’ and ‘WordPress Address’ are correct.


    2. Check REST API Status Using WordPress Site Health
    1. Log into your WordPress Dashboard.
    2. Navigate to Tools > Site Health.


    If the REST API is not working, you will see an error message under Recommended improvements: ' The REST API encountered an unexpected result.’

    Additionally, it might display additional debugging details that could clarify what occurred when WordPress called the REST API. Analyzing this could explain whether a plugin or third-party service is the problem.

    3. Disable All Your WordPress Plugins

    1. Log into your WordPress Dashboard.
    2. Navigate to Plugins > Installed Plugin.
    3. On this page, choose plugins and Deactivate them from the Bulk actions option.



    4. Check the website firewall service
    There is a possibility that REST API requests will be blocked if you use a website firewall service.

    They might do this if their firewall filters flag your IP address as suspicious. If your website is currently under a DDOS attack, it might also block REST API calls.

    5. Enable and Review the Wordpress debug log

    1. Log into your CPanel account.
    2. Scroll down to the Files and choose File Manager.
    3. Inside public_html directory, select wp-config.php file.
    4. Add the following code:
    • define( 'WP_DEBUG', true );
    • define( 'WP_DEBUG_LOG', true );

    After that, go to the wp-content folder and download the debug.log file. This can be helpful if you find something pointing to a plugin or theme file.

    6. Use classic Editor

    You can easily make changes to the post you are writing. Without noticing the updating failed or publishing failed error in WordPress, you could save and publish it.
    1. Log into your WordPress Dashboard.
    2. Scroll down to the Plugins > Add New.
    3. Search for the Classic Editor plugin, click Install Now, and then Activate it.




    Comment

    Working...
    X