Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
You are experiencing issues with tasks related to translatable fields being stuck after updating ACF fields, despite previously clearing the wp_icl_background_task table to resolve similar issues.
Solution:
First, if you have a staging site, we recommend disabling all other plugins except for WPML and ACF, and switch to the default WordPress theme to check if the tasks start to progress. Ensure not to close the page while checking. If the tasks remain stuck, you may need to remove the same database key again to resolve the issue. This is a known issue, and we are actively working on a permanent solution. You can check the progress and more details here: https://wpml.org/errata/wpml-causing-backend-slowness-and-duplicated-queries/

If this solution does not apply to your case, or if it seems outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If issues persist, please open a new support ticket for further assistance.

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.

Tagged: 

This topic contains 1 reply, has 0 voices.

Last updated by Dražen 1 month, 2 weeks ago.

Assisted by: Dražen.

Author Posts
November 28, 2024 at 4:08 pm #16456258

geertL-2

Background of the issue:
I am trying to update tasks related to translatable fields, but they seem to be stuck. I previously deleted everything in the wp_icl_background_task table to resolve similar issues, but after updating ACF fields, the tasks are stuck again. (see screenshot)

Symptoms:
Tasks are building up and not progressing, which is slowing down the site and causing it to crash.

Questions:
How do I fix the issue of tasks being stuck and building up?

November 29, 2024 at 9:57 am #16458562

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+01:00)

Hello,

thanks for getting back.

Actually, changing ACF translation settings triggers these background tasks, so the translation is synced across other pages.

If you have a staging site I would first suggest you try to disable all other plugins, leave only WPML and ACF plugins and use the WP default theme, not the custom one, and check if the tasks are moving and being finished, do not close the page.

If not, it might be stuck and you can try and re-remove the same DB key to unstuck this part.

BTW this is a known issue and we are working on a permanent solution:

https://wpml.org/errata/wpml-causing-backend-slowness-and-duplicated-queries/

Regards,
Drazen