0

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.

1 Answer 1

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.