admin管理员组

文章数量:1291011

I have an wordpress website and have a lots of user's that write content in it. Sometimes when users edit or create new post and save it, after refresh it disappeared.

I have a backup system that mysqldump all database every 8. I don't know that this may cause the problem or not.

I have an wordpress website and have a lots of user's that write content in it. Sometimes when users edit or create new post and save it, after refresh it disappeared.

I have a backup system that mysqldump all database every 8. I don't know that this may cause the problem or not.

Share Improve this question edited Jun 13, 2021 at 0:37 Tom J Nowell 61k7 gold badges79 silver badges148 bronze badges asked Jun 12, 2021 at 20:42 heydar dasoomiheydar dasoomi 1012 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 1

You are mentioning the mysqldump, and it might be linked to the problem. If your mysqldump takes long time, and lock tables, it might cause the requests to your server when tryig to save posts, to time out.

It could also just be a plugin that is messing something up, server-side settings that have errors in them. It could be that your functions.php spits out some data when it shouldn't, messing up the save-function. It's hard to tell from that little information.

The list of possible causes for this problems is endless, so the only way to figure it out is to start logging.

I'd start with installing Sentry. It's a tool that helps you find any errors, both in the frontend and backend. They have a free plan.

Then install the WordPress Sentry plugin.

Make sure you enable both backend AND frontend logging, there might be clues to what's happening in the JS console, and Sentry will cover this.

If you are already logging errors, check your log-files (both the wordpress-error-log and the webservers error logs).

If you can recreate the error yourself, then look in the networks tab in your browsers devtools, and see what the network requests contain, and what the response is.

本文标签: mysqlWordpress doesn39t save changes some times