lesterchan / wp-sweep

WP-Sweep allows you to clean up unused, orphaned and duplicated data in your WordPress. It also optimizes your database tables.
https://wordpress.org/plugins/wp-sweep/
152 stars 23 forks source link

Remove duplicated post meta doesn't work #47

Closed lauwqui closed 6 years ago

lauwqui commented 7 years ago

image

Hey there, I've had an issue recently with a plugin that duplicates indefinitely meta_keys for my Woocommerce products, so this plugin seemed like the right solution (I'm not sure how to do this myself in phpmyadmin..)

I have like 40000 duplicates. But.. when I sweep, nothing happens, no error message, nothing..

I'm running this on a private SQL server.

Thank you for your help ! Bonjour de GamerZ !

szepeviktor commented 7 years ago

with a plugin that duplicates indefinitely meta_keys

1) It seems to me that best solution is to track down add_post_meta() in that plugin.

2) When you deal with heavy websites, please consider using a direct (without bothering the webserver) software: WP-CLI https://github.com/lesterchan/wp-sweep/blob/master/class-command.php

lauwqui commented 7 years ago

Hi,

Thanks for your answer.

Yeah, I figured it was something like that and I have no idea how to fix this myself.

And about WP-CLI, I've just discovered what this is, read the documentation, I have no idea not the faintest idea how to install this on my hosting...

szepeviktor commented 7 years ago

WP-CLI needs terminal access: SSH.

If you would have me find the glitch in that plugin or install WP-CLI drop me an email: https://github.com/szepeviktor 👇 🔑