0

My WordPress install (with the following plugins) randomly creates Draft posts whenever I load the posts page. Is there a way to find out which plugin is doing this (aside from deactivating)? Has anyone had this problem?

Admin Tree View Advanced Custom Fields ACF: Flexible Content Field ACF: Repeater Field Breadcrumb NavXT Disqus Google Analytics Dashboard for WP Google Analytics for WordPress Gravity Forms Gravity Forms Campaign Monitor Add-On iframe IPU-Chart Simple Sitemap sxss Admin Notes TablePress W3 Total Cache WordPress SEO WP-Mail-SMTP

4
  • Which posts page?
    – vancoder
    Jun 27, 2014 at 21:43
  • Just in the backend. When you go to the Posts section. I had about 1000+ drafts that were created. I can't tell what plugin created them or why they were created.
    – dallen
    Jun 28, 2014 at 1:45
  • I have the same problem recently. Did you solve it?
    – D.JCode
    Dec 14, 2020 at 4:39
  • I had the same problem And I solved it You can refer here wordpress.org/support/topic/automatic-creation-of-post-drafts
    – Tan Nguyen
    Sep 14, 2022 at 9:46

3 Answers 3

0

A good place to start with an issue like this is using debug mode in WP. https://codex.wordpress.org/Debugging_in_WordPress

If you know exactly which action triggers the creation of a draft post, then it is repeatable and you have a basis for a solution. Based on your question, "whenever I load the posts page" is what creates your unwanted drafts. Not sure exactly what you mean by that as it could be interpreted to mean a few different things.

Deactivate all plugins - test if a draft is created when you "load the posts page". If no draft is created, it is a plugin issue.

Reactivate plugins one at a time and retest each time until you locate the problem.

If deactivating plugins does not stop the auto-draft behavior, the problem is likely theme related. Switching themes will isolate that issue separately.

0

in your database look into wp_postmeta table to see the latest entries.

1
  • 1
    This does not answer the question.
    – kaiser
    May 31, 2017 at 8:11
0

I had the same problem on a multisite installation. It turned out that the wp_posts table was missing the Auto Increment setting on the post_id column.

1
  • This is not the correct answer. Dec 24, 2021 at 6:57

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