Skip to:
Content
Pages
Categories
Search
Top
Bottom

Resetting Forums Giving 500 Error

  • @lp9086

    Participant

    I want to reset my bbpress data.

    However, this is giving me a 500 error every time.

    Any advice on how to fix this so I can clear my test data and do a fresh import.

Viewing 4 replies - 1 through 4 (of 4 total)
  • @casiepa

    Moderator

    @lp9086

    Participant

    Yes, that it exactly what gives me a 500 error everytime.

    @lp9086

    Participant

    Any help?

    @casiepa

    Moderator

    If it’s really not working anymore, you could delete directly forums, topics and replies from the DB and then run the reset again. This will of course delete all your forum data ! Make sure to backup before !

    Change wp_ to your own prefix.

    USE WITH CAUTION

    DELETE a,b,c FROM wp_posts a
    LEFT JOIN wp_term_relationships b ON (a.ID=b.object_id)
    LEFT JOIN wp_postmeta c ON (a.ID=c.post_id)
    WHERE a.post_type IN ('forum', 'topic', 'reply')

    USE WITH CAUTION

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Skip to toolbar