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.
This topic contains 4 replies, has 2 voices.
Last updated by oldrichH 1 year, 10 months ago.
Assisted by: Dražen.
Author | Posts |
---|---|
March 10, 2023 at 2:11 pm #13218243 | |
oldrichH |
I am trying to: Remove a language and duplicate IDs in the database for that language using the GUI Link to a page where the issue can be seen: NA I expected to see: Functional website Instead, I got: I noticed at first that all the thumbnail images had disappeared, but when restoring from backup I found that a huge number of original files had been deleted as well I hope it is not a normal feature of the language removal function that it removes all media in the library. The funny thing is that this situation repeated itself twice, but the first time I looked for the cause elsewhere and didn't connect it to WPML. I spent really many hours with this, over and over again, to no end when doing anything on this damn site. There are always some problems on this site, but always related to WPML. I also did a detailed analysis of the database entry and the real existence of the files on disk. Now the staging website is running, so I can provide you complete access to test anything. According to my analysis, it should be possible to put the media in order using SQL queries, but whether there is a clear connection to deleting media, I really don't know. PS: The Advanced Translation Editor logs contain 21 errors. My media file analytic table export you can get from the link: |
March 13, 2023 at 7:30 am #13228465 | |
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+01:00) |
Hello, thanks for contacting us. As I understand, removing language and its media causes all other language media to be removed and corrupted? Can you share with us an example of the issue, to understand and confirm? Maybe a video or a few images would be helpful. In any case, this is not expected and our tools should work correctly and remove only language-related DB entries. Media files exist only in the default language and the rest are just DB entires for other languages. Also, I see you are using different media-related plugins, so could be it has caused some issues or is causing issues when using WPML. Let me know. Thanks, |
March 14, 2023 at 9:09 am #13240157 | |
oldrichH |
Hello Drazen, With best regards, |
March 14, 2023 at 10:38 am #13241237 | |
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+01:00) |
Hello Jiri, thanks for getting back and providing more info on this. Before we proceeded, can you please try the next steps: 1) Restore backup on your staging site before the issue happened. 2) Disable all other plugins and leave active only WPML plugins and WP default theme, try to replicate the issue again and provide with us a video of these steps and the issue happening, so we can see it clearly. This will tell us if the issue is caused in combination with other plugins or just WPML, and would help speed up debugging. Let me know how it goes. Thanks, |
March 14, 2023 at 5:54 pm #13245757 | |
oldrichH |
I think you're kidding me. I've spent dozens of hours analyzing the problem, and it looks like you're not even reading what I've written and inserting pre-made template responses. Better put ChatGPT in there... I'm closing this case and will request someone else. |