• Resolved kentwinder

    (@kentwinder)


    Hi,

    Thanks very much for your plugin. I have just installed it and run it but after optimization, I got the message “No REVISIONS found to delete…”

    My current options:
    Maximum number of – most recent – revisions to keep per post / page: 0
    Delete trashed items: YES
    Delete spammed items: YES
    Delete unused tags: YES
    Delete expired transients: YES
    Keep a log: NO
    Number of excluded tables: 0
    Scheduler: NOT SCHEDULED

    Other trashed/spammed items are deleted though. Is there anything that I did wrong?

    https://www.ads-software.com/plugins/rvg-optimize-database/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor cageehv

    (@cageehv)

    Hey Kent,

    Your settings are pretty much standard so it doesn’t look like you are doing something wrong!

    No idea why it doesn’t delete the revisions.

    Can you run the following query on your database:

    SELECT post_parent,post_title, COUNT(*) cnt
    FROM $wpdb->posts
    WHERE post_type = ‘revision’
    GROUP BY post_parent
    HAVING COUNT(*) > 0
    ORDER BY UCASE(post_title)

    Replace $wpdb->posts with the real name of your posts table.

    Please let me know the result of that query.

    Thanks,
    Rolf

    Thread Starter kentwinder

    (@kentwinder)

    Hi Rolf,

    Thank you for your quick reply. After running your query, I’ve got about ~8000 records. All records contain post_parent and count value (some are 1, and others are more than 1). About the post_title, about 30 first results are blank, the remains are the post title.

    Plugin Contributor cageehv

    (@cageehv)

    Hey Kent,

    Thanks for testing!

    Just to make sure it’s not a ‘plugin clash’:
    Please can you disable all plugins except for my optimizer and try to run the optimizer again?

    Let me know if that deletes the revisions.

    peace,
    Rolf

    Thread Starter kentwinder

    (@kentwinder)

    Oh, it’s deleting revisions now

    Here are my plugins:

    Bulk Move
    Google XML Sitemaps
    HTML Javascript Adder
    Members
    Wordpress Popular Posts

    I will test with each plugin disabled to see which one is the cause of this problem ??

    Plugin Contributor cageehv

    (@cageehv)

    So it is a ‘plugin clash’… ??

    Yes, please find out which plugin causes this problem.
    Then I can install it myself and see what the exact problem is.

    Thanks,
    Rolf

    Thread Starter kentwinder

    (@kentwinder)

    Hi Rolf,

    After testing with each plugin enabled, and now all plugins are enabled, your plugin is working properly.

    So, I’m not sure where the problem comes from. I will let you know if I find out something.

    Thank you and have a nice weekend,
    Kent

    Plugin Contributor cageehv

    (@cageehv)

    Hey Kent,

    Good to hear it’s working now! No idea what caused the problem in the first place.

    Thanks for your feedback and have a great weekend too!

    Rolf

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘No REVISIONS found to delete…’ is closed to new replies.