WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Can't delete drafts (10 posts)

  1. nicolaspf
    Member
    Posted 4 years ago #

    Hi! I was wondering if maybe somebody could help me with this issue.

    There are two drafts stucked in my dashboard. They appear in the list of posts as drafts with no title, and I can't delete them. When I try to delete them it appears the message: The posts have been moved to the trash.. but they don't disappear from the Main List, it keeps appearing.

    I'd be grateful with your help!
    Best regards.

  2. tprod
    Member
    Posted 4 years ago #

    Hi nicolaspf,

    I think you should connect to your phpMyAdmin and put this query in wp_posts table SQL Tab

    SELECT * FROM wp_posts WHERE post_status = 'draft'

    Then, you simply delete the two evil drafts ;)

    Regards

  3. I'd try a repair of the database as well. Something sounds hinky, though.

  4. tprod
    Member
    Posted 4 years ago #

    It's possible i's authorization problem with your server.

  5. tprod - There would be a lot more problems with that, I'd think. I mean, you wouldn't be able to write new posts if that was the case :)

  6. tprod
    Member
    Posted 4 years ago #

    You're right ;) Maybe Wp Optimizer plugin should works :

    http://wordpress.org/extend/plugins/wp-optimize/

    Have you tried ?

  7. nicolaspf
    Member
    Posted 4 years ago #

    Hi TPROD and Ipstenu, I tryed the WP Optimize Plugin, but it didn't work, the two drafts keeps there in the main list. Is there any other way to fix the database? Because maybe is a database problem, I'm not sure of that.

    Do you think that I should try to access PhpMyAdmin and apply the command you suggested?
    SELECT * FROM wp_posts WHERE post_status = 'draft'

    Ipstenu, how could I repair the database? Maybe with a plugin or directly in the PhpMyAdmin?

    Thanks for your fasts answers.

  8. nicolaspf
    Member
    Posted 4 years ago #

    OK! I deleted through the command that you suggested:
    SELECT * FROM wp_posts WHERE post_status = 'draft'

    But now, how could I repair the database, what's the best way to do it?
    Thanks again!

  9. nicolaspf
    Member
    Posted 4 years ago #

    Perfect! Now I think everything is working fine.
    Many thanks Ipstenu and Tprod ;)

Topic Closed

This topic has been closed to new replies.

About this Topic