We are facing two major issues while using the WPML plugin in our Website.
THE FIRST IS SLOWING OF OUR SITE ADMIN -
Our WordPress Admin getting Very Slow when using the WPML plugin. We conclude that because whenever we deactivate the plugin site works perfectly fine.
By Debugging the things we noticed that there are lot of duplicate queries of WPML tables going on whenever we browse any page in the admin side. And We have also noticed that there is table of WPML name "wp_icl_background_task" which contain lot of rows around 4000 and these are populating automatically whenever we navigate any admin pages.
By deleting these table entries site start working normally.
Could you please let us know how to resolve that and what is the purpose of this background task table. Is there a way we can stop that background tasks.
SECONDLY TRANSLATION ISSUES-
The Problem is that first time when we make a page let say with the English Language and When we make Other Languages version of this English page It works. In our pages there are lot of ACF custom fields. The major problem is that whenever someone updates the English version of the page again by updating any fields data or any content data the other language pages are getting breaking. Could you please let us know how this happening.
Can we have a solution so that if someone update the English version of the page its not affected the other language pages and break the things.
We try to keep each thread to 1 issue, however, please review the following information, and if further assistance is required with the second issue, if possible open a separate ticket.
#1 The wp_icl_background_task is an expected query as it is used for running Automatic Translation jobs, however, what can happen sometimes is that Automatic Translation was enabled and then disabled abruptly causing many jobs to be "stuck"
Please go to WPML->Settings and verify with me, are you using the Automatic Translation or Classic editor? Also, verify that your account is either using pay as you go or has available credits if you are using the Automatic Translation.
#2 This can happen if you "duplicate" from the default language into the trannslations.
In this case, check the following:
- Edit your page in the default language
- Use the language switcher at the top header and switch to the translation (dismiss the warning)
- Do you see a message at the top right asking you to translate independently?
If not then review your ACF preferences. If they are set to copy then the default language content will be copied to the translation