WordPress.org

Forums

WP Clean Up
NextGen Gallery data is lost after Draft clean up (4 posts)

  1. Dmitry Shved
    Member
    Posted 1 year ago #

    Be careful to use this plugin with NextGen Gallery. While deleting Draft data ALL records from wp_posts table are deteted that have post_status='draft' value.
    The issue is that NextGen Gallery plugin stores own data in 'draft' records with post_type values like 'ngg_album', 'ngg_gallery', 'ngg_pictures'... After they are deleted you see just messages 'Gallery not found. Please check your settings' on your site.
    Possibly it make sense to delete only those draft records that have post_type values 'page' and 'post'.
    Another proposal - on the Admin page to add a note on top like 'Please make a back up copy of your database before using this plugin'. In my case it would help a lot :)...

    https://wordpress.org/plugins/wp-clean-up/

  2. ZinZang Studio
    Member
    Posted 1 year ago #

    Thanks for the explanation as to why the galleries disappeared!

    I agree with your proposals.

  3. ELAN42.com
    Member
    Posted 1 year ago #

    Can you fix this problem ?

    Either inserting an exception in your plugin for NGGallery,
    or convincing their developers to use properly WP database ? (draft is WRONG).

  4. Christine Cobb
    Member
    Posted 1 year ago #

    I can confirm this problem. It just happened to me.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Clean Up
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic