Background of the issue:
I am trying to resolve an issue where WPML is running multiple duplicate queries, causing database locking errors. I found a support thread titled 'WPML Causing Backend Slowness and Duplicated Queries' that suggests deleting or truncating the icl_background_task database table as a temporary fix.
Symptoms:
WPML is running multiple duplicate queries, leading to database locking errors.
Questions:
Is there a permanent solution to prevent WPML from running duplicate queries and causing database locking?