• Resolved mjaitly123

    (@mjaitly123)


    I installed WP Smush and it smushed my 300 images. I later deleted many of them realizing that I don’t need them. For a fresh start, I deleted the plugin and reinstalled it, but it keeps showing the earlier stats that 300 images have been smushed. Despite smushing the 100 ‘new’ images, it again shows 100 need to be smushed.

    Before deleting I did check the delete option in the data settings so that the plugin is completely deleted. In the CPanel, I ran the SQL query DELETE FROM wp_postmeta WHERE meta_key IN (‘smush-stats’, ‘smush-marked’, ‘smush-info’, ‘wp-smush-resize_savings’) but the query returned 0 rows as results. The smush stats continue to appear. I even used the Advanced database clean plugin but no results.

    Please let me know how to completely delete WP Smush and reinstall it afresh.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Saurabh – WPMU DEV Support

    (@wpmudev-support7)

    Hello @mjaitly123,

    Hope you’re doing well today!

    Before deleting I did check the delete option in the data settings so that the plugin is completely deleted.

    Ideally, having the Smush >> Settings >> Data & Settings >> Data >> Uninstallation >> Delete setting should delete all the data stored by the Smush plugin, which should be good for a fresh reinstall. Ref: https://wpmudev.com/docs/wpmu-dev-plugins/smush/#uninstallation

    However, I tested the scenario you mentioned on my lab environment, and I noticed the Smush stats are updating fine. I deleted a couple of images from my sites media library, and it updated the stats precisely on “Images optimized in the media library”, “Images Smushed” and the “Total Savings”.

    Can you please confirm if you have “Automatically compress my images on upload” enabled in the Bulk Smush settings?

    Also, can you please check if you have any object level caching implemented on your website, if so, can you please clear the object caches along with any server-level cache and check if that shows the updated stats?

    Please let us know how it goes.

    Kind Regards,
    Saurabh

    Thread Starter mjaitly123

    (@mjaitly123)

    I am currently not using any cache plugin because my host is providing cache at server level and it does not have object cache. When I install Smush, I enable the Automatically compress upon upload option under Bulk Smush.

    Plugin Support Imran – WPMU DEV Support

    (@wpmudev-support9)

    Hello @mjaitly123,

    I hope things are going well for you.

    Thank you for sharing the additional information. Please try running this SQL query and share the results with us. Before doing so, create a site backup and completely remove Smush by following the steps in this response https://ww.wp.xz.cn/support/topic/not-properly-deleted/#post-18587219.

    Navigate to the cPanel > PhpMyAdmin > Select site database >
    DELETE FROM wp_postmeta WHERE meta_key = "wp-smpro-smush-data";
    Please change the table prefix as per the site that has in the database.

    The above given steps will help remove the setting from the database. Please try reconfiguring Smush to see if it helps resolve the issue.


    Kind Regards,
    Imran Khan

    Thread Starter mjaitly123

    (@mjaitly123)

    I had already deleted the plugin but ran the SQL query you gave to ensure all traces are deleted. The query gave 0 results. Once again, I installed the plugin. After rechecking it once again gave the old stats which does not seem to go away at all. I again ran the query but still there are 0 rows. Nothing seems to work actually! The old stats keeps appearing no matter what I do.

    Plugin Support Nebu John – WPMU DEV Support

    (@wpmudevsupport14)

    Hi @mjaitly123,

    Sorry to know that you are still experiening this issue.

    Can you please confirm if the server-level cache that you mentioned was cleared, and the issue is still observed?

    Can you please perform a clean re-install as we mentioned in our earlier response and check if that helps to resolve the issue? That is, uninstall the plugin with delete all the data stored option enabled at Smush >> Settings >> Data & Settings >> Data >> Uninstallation and install the plugin again.

    Please update us here with the results so that we can help you further.

    Best Regards,
    Nebu John

    Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    Hi @mjaitly123,

    Since we haven’t heard from you for a while. I’ll mark this thread as resolved for now. Please feel free to re-open this thread if you need any further assistance.

    Kind Regards,

    Nithin

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Not properly deleted’ is closed to new replies.