[Assigned] I need help with removing duplicate image entries by WPML
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
Elementor users - please update WPML to the latest version to maintain compatibility. More details here - https://wpml.org/changelog/2024/12/wpml-4-6-15-critical-update-for-elementor-sites/
Background of the issue:
We are trying to remove WPML and all its data from our website hidden link. We have reset the WPML plugin and removed all related databases, but not everything was removed.
Symptoms:
Our media images have tripled with duplicate entries. Removing 'unattached' images also removes the original image as they share the same file path.
Questions:
How can we remove duplicate image entries created by WPML without affecting the original images?
Hi, we already have followed the guideline by resetting the WPML and even we have removed database of WPML as well but then we went to see the media files and found out that the amount of files has tripled by duplicates and what is scary is the duplicate images doesn't has different url's instead it holds the exact file path or url as the original image so even if we identify the duplicates and try to delete them it also deletes the original file which is bothering us the most and we tried to delete the duplicate images by using some plugin as well but it didn't worked as it was deleting the original image as well. and FYI these duplicate images which you guys call as entries was created by WPML . please help me to remove this duplicate image entries from the website
If you have already reseted the WPML database, all the media languages files will be lost and it appears as default language, in this case, it is only possible to manually remove the images.
Being so, I would like to ask if you have a backup available before you reset the WPML plugin?
yes i have made an reset on WPML also i have removed the database tables of WPML as well but nothing removed the image entries created by WPML. we used to make our products translated into Chianese version once we create a product on English, and i guess you know that how WPML functions with product images on translated version of default language versions. and as you are saying removing images they are not even duplicate images, they are just entries which holds the original image url so even if we delete the duplicate image entries manually it will automatically delete the original image as well. we tried to delete the images manually but it deletes the original image as well. and we don't have any backup unfortunately. so yeah we are seeking help from you guys to help us removing this duplicate image entries which is leftover or junk created by WPML.