Updating failed. Could not update post in the database

@Admin hello sir ,
When did write my blog post is show this type message
“Updating failed. Could not update post in the database.” While using wp block editor
Unable to publish my post ,

I did install wp again of and disable plugin and aslo used wordpress Database repair method but I did face same problem , its not fixed yet what I have to do ?

Did u change ur hosting account password? because if u did try changing it to ur old password bc if the db password gets changed then Wordpress can’t connect to the database or edit wordpress config file and replace ur old password with the new one

The first thing I would do is open my browsers developer tools, open the Network tab, and try saving the post again. You should see the request that WordPress makes to the backend to save the post. By looking at the status code or the error message returned, you can sometimes learn more about why it doesn’t work.

I don’t think it’s a database credential issue. It could be a problem with the specific content you’re trying to save, or maybe a plugin interfering with the functionality of WordPress. But we need to find out more about why you see this error before we can try to solve it.

8 Likes

I did’t change my password , and not change any settings thats related with database
Even its suddenly happend

I did try , there is no specific log which and this situation I did’t face while am publishing my post its face while am writing my blog post when its auto saving its show error thats mention above ,

I think wordpess accept text , image, video ,code , emoji and audio file and also using following , and try to change my device, used other browser , incognito window and also clearing browser catch and data too.

What plugins did you use in your Wordpress site?

I had the same issue when trying to save a post with emojis. Could be a problem with the charset of the database

The problem description is clear. But your website is returning an error message, and I don’t know your website enough why your website is doing that. So I need more technical details to be able to say anything useful. If there is no information, then your guess is as good as mine.

Did you actually check the Network log for the response? If you’re not sure how to find the information or how to interpret it, we’re happy to help. But then please say so, or we will not be able to help you.

5 Likes

Your are right ,
I did research on internet about this and find wordpress forms , this problem faced by many user

Its probably happend by using emojis in my post when I did remove then its working fine .

4 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.