Title: WordPress deleting posts
Last modified: July 25, 2018

---

# WordPress deleting posts

 *  Resolved [rahulrkrishnan](https://wordpress.org/support/users/rahulrkrishnan/)
 * (@rahulrkrishnan)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/wordpress-deleting-posts/)
 * I installed Simple History to find user activity. Instead, I found that WordPress
   is deleting some of my posts.
 * I am the admin and I have one editor. I have some users with restricted access(
   no post deleting capability). None of us deleted those posts.
 * Could this be a malfunctioning plugin? any one of the users? hacked? or WordPress
   itself?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwordpress-deleting-posts%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 15 replies - 1 through 15 (of 23 total)

1 [2](https://wordpress.org/support/topic/wordpress-deleting-posts/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/wordpress-deleting-posts/page/2/?output_format=md)

 *  [Davood Denavi](https://wordpress.org/support/users/binarywc/)
 * (@binarywc)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/wordpress-deleting-posts/#post-10527448)
 * It could be a plugin malfunctioning and allowing the restricted users to delete
   posts. It could also be an early sign of the site having been hacked. I would
   suggest testing your site with a plugin like [WordFence](https://www.wordfence.com/docs/how-to-clean-a-hacked-wordpress-site-using-wordfence/)
   to see if it has been compromised. If WordFence returns a clean report then contact
   the author of the plugin you use to restrict those other users because it is 
   likely the plugin malfunctioning!
 * Hope this helps.
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/wordpress-deleting-posts/#post-10527605)
 * You site is hacked / infected with malware. See [https://sitecheck.sucuri.net/results/pursuitae.com](https://sitecheck.sucuri.net/results/pursuitae.com)
 * Carefully follow [this guide](https://codex.wordpress.org/FAQ_My_site_was_hacked).
   When you’re done, you may want to implement some (if not all) of [the recommended security measures](https://codex.wordpress.org/Hardening_WordPress).
 * If you’re unable to clean your site(s) successfully, there are reputable organizations
   that can clean your sites for you. Off hand, couple of names that come to mind
   are Sucuri and Wordfence.
 *  [Davood Denavi](https://wordpress.org/support/users/binarywc/)
 * (@binarywc)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/wordpress-deleting-posts/#post-10527619)
 * In fact, t-p, I have fixed many sites with similar issues that use permissions
   plugins as this user mentioned they are using such a plugin it may not be a hacked
   site. I have seen this problem occur before from a malfunctioning permissions
   plugin where users who did not have delete permission were still able to delete
   posts/pages.
 *  [Davood Denavi](https://wordpress.org/support/users/binarywc/)
 * (@binarywc)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/wordpress-deleting-posts/#post-10527646)
 * Also, I followed the Securi link you provided and it clearly says that this users
   site is not hacked/infected.
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/wordpress-deleting-posts/#post-10527780)
 * [@rahulrkrishnan](https://wordpress.org/support/users/rahulrkrishnan/),
 * FYI, it’s not a good idea to respond to work offers from random forum users who
   have read about your issues. You’re going to get people asking you on your own
   site and when that happens, please report that in a new topic. That person and
   company will be banned from this site if they seek a paid job from you.
 *  Thread Starter [rahulrkrishnan](https://wordpress.org/support/users/rahulrkrishnan/)
 * (@rahulrkrishnan)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/wordpress-deleting-posts/#post-10529244)
 * this is the info i get from simple history;
 * WordPress 4 mins ago
    Deleted post “asdf”
 * Context data
    This is potentially useful meta data that a logger has saved.
 * Key Value
    id 1234 logger SimplePostLogger level info date 2018-07-26 09:18:00
   message Deleted {post_type} “{post_title}” initiator wp context_message_key post_deleted
   post_id 465307 post_type post post_title asdf _message_key post_deleted _wp_cron_running
   true _server_remote_addr 11.111.11.1 _server_http_referer [http://pursuitae.com/wp-cron.php?doing_wp_cron=1532596509.8031070232391357421875](http://pursuitae.com/wp-cron.php?doing_wp_cron=1532596509.8031070232391357421875)
 * so a cron job is deleting my posts? how can i find which cron is doing this? 
   i have WP-Cron Events installed but not sure how to identify this particular 
   cron.
 *  [Davood Denavi](https://wordpress.org/support/users/binarywc/)
 * (@binarywc)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/wordpress-deleting-posts/#post-10529788)
 * It sounds to me like a custom cron job was added or you have a malfunctioning
   plugin. I would check the cron jobs directly on the server not using a plugin.
   Are you using a cpanel based server? Also, would you provide a list of the plugins
   you are using?
 *  [Pär Thernström](https://wordpress.org/support/users/eskapism/)
 * (@eskapism)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/wordpress-deleting-posts/#post-10529794)
 * Hi, author of Simple History here.
    To make it easier to detect what plugin that
   is doing this I’ve added some extra info to event logged during cron jobs: in
   the next update of Simple History you will also be able to see the current filter.
   Hopefully this will make it possible to easier detect the code/plugin behind 
   your post deletions.
 * (I hope to be able to release the next version later today.)
 *  Thread Starter [rahulrkrishnan](https://wordpress.org/support/users/rahulrkrishnan/)
 * (@rahulrkrishnan)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/wordpress-deleting-posts/#post-10529801)
 * i use wordpress hosting on a 3rd party website with no cpanel.
    -  This reply was modified 7 years, 10 months ago by [rahulrkrishnan](https://wordpress.org/support/users/rahulrkrishnan/).
      Reason: plugin details removed!
 *  Thread Starter [rahulrkrishnan](https://wordpress.org/support/users/rahulrkrishnan/)
 * (@rahulrkrishnan)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/wordpress-deleting-posts/#post-10529807)
 * [@eskapism](https://wordpress.org/support/users/eskapism/)
 * I look forward to the update!
 * your plugin turned out to be the best security tool I have now, without which
   I’d not have found these issues!
 *  [Davood Denavi](https://wordpress.org/support/users/binarywc/)
 * (@binarywc)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/wordpress-deleting-posts/#post-10529816)
 * Ah, okay. Some of the hosts that offer specific WordPress hosting packages still
   offer a way to see your cron jobs through their custom interface. In any event,
   from looking at the plugins you’re using my best guess is it that you have a 
   conflict between the two access plugins you’re using _Advanced Access Manager_
   and _User role editor_ that is allowing users who do not have delete access to
   delete stuff and logging it as WP deleting it.
 *  Thread Starter [rahulrkrishnan](https://wordpress.org/support/users/rahulrkrishnan/)
 * (@rahulrkrishnan)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/wordpress-deleting-posts/#post-10529827)
 * [@binarywc](https://wordpress.org/support/users/binarywc/)
 * I can’t uninstall AAM. I could remove user role editor and see if there’s still
   such a conflict.
 * But when both plugins are set to deny such capabilities to users, is it possible
   to have such a conflict? Do you have any suggestions?
 * Does deactivating a plugin disable its cron jobs? and maybe such conflicts?
    -  This reply was modified 7 years, 10 months ago by [rahulrkrishnan](https://wordpress.org/support/users/rahulrkrishnan/).
 *  [Davood Denavi](https://wordpress.org/support/users/binarywc/)
 * (@binarywc)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/wordpress-deleting-posts/#post-10529842)
 * Yes, anything is possible. There could be a bug in the code for one or both of
   them. However, is _User Role Editor_ disabled? If so, then it is not causing 
   such a conflict. Are you able to wait for the update to _Simple History_?
    -  This reply was modified 7 years, 10 months ago by [Davood Denavi](https://wordpress.org/support/users/binarywc/).
 *  Thread Starter [rahulrkrishnan](https://wordpress.org/support/users/rahulrkrishnan/)
 * (@rahulrkrishnan)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/wordpress-deleting-posts/#post-10529851)
 * [@binarywc](https://wordpress.org/support/users/binarywc/)
 * Yeah, I agree. Better to wait for the Simple History update!
 * Will come to know which plugin is malfunctioning!
 *  [Davood Denavi](https://wordpress.org/support/users/binarywc/)
 * (@binarywc)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/wordpress-deleting-posts/#post-10529870)
 * In fact, that may not give us any further info. But the hope is that it will.
   Please let me know once you have seen the new info it provides. I am happy to
   continue helping you nail down whats going on once we have the updated output!

Viewing 15 replies - 1 through 15 (of 23 total)

1 [2](https://wordpress.org/support/topic/wordpress-deleting-posts/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/wordpress-deleting-posts/page/2/?output_format=md)

The topic ‘WordPress deleting posts’ is closed to new replies.

## Tags

 * [automatic](https://wordpress.org/support/topic-tag/automatic/)
 * [delete](https://wordpress.org/support/topic-tag/delete/)
 * [post](https://wordpress.org/support/topic-tag/post/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 23 replies
 * 5 participants
 * Last reply from: [Davood Denavi](https://wordpress.org/support/users/ddenavi/)
 * Last activity: [7 years, 10 months ago](https://wordpress.org/support/topic/wordpress-deleting-posts/page/2/#post-10531811)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
