[Warten auf das Feedback der Benutzer] Duplicate Queries
Dies ist das technische Support-Forum für WPML – das mehrsprachige WordPress-Plugin.
Mitlesen können alle, doch nur WPML-Kunden können hier Fragen veröffentlichen. Das WPML-Team antwortet im Forum an 6 Tagen pro Woche, 22 Stunden am Tag.
Sun
Mon
Tue
Wed
Thu
Fri
Sat
-
8:00 – 13:00
9:00 – 13:00
9:00 – 13:00
8:00 – 12:00
8:00 – 12:00
-
-
14:00 – 17:00
14:00 – 18:00
14:00 – 18:00
13:00 – 17:00
13:00 – 17:00
-
Unterstützt die Zeitzone: Europe/Zagreb (GMT+01:00)
Hintergrund des Themas:
I am trying to identify why there are over 200 duplicate requests from WPML when using Query Monitor. The issue can be seen on this page: versteckter Link.
Die Symptome:
I see over 200 duplicate requests from WPML.
Fragen:
What is the reason for the duplicate requests?
How can it be fixed?
There are several possible causes for the duplicate WPML queries you are seeing in Query Monitor. For example, String Translation can generate multiple queries to fetch translated strings, increasing the query count. Also, certain themes or plugins, such as Elementor, WooCommerce, or ACF, may interact with WPML in a way that results in duplicate queries.
If object caching is disabled, WPML won’t store query results efficiently, leading to repeated database requests.
To help diagnose the issue further, could you check the queries under these conditions?
- **Only WPML plugins activated** – This will help determine if the duplicate queries are caused by an interaction with another plugin.
- **Theme set to a WordPress default like Twenty Twenty** – This will help identify if the issue is related to your theme’s compatibility with WPML.
Another thing, can you update WPML? We just released a new (major) version, can you check the number of queries after this?
What if you disable Adjust IDs for multilingual functionality option, what is the number of queries then?
Eliminating queries is not that simple as it typically comes from WPML core.
Can you please check the number of queries when:
- only WPML plugins are activated, as it will tell us if there is an interaction issue with other plugin
- theme is set to a WordPress default like Twenty Twenty as it will tell us if there is an interaction issue with your theme
I did not understand from your reply if you did such test?