Skip Navigation

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 1 voice and has 0 replies.

>
Author Posts
November 21, 2023 at 9:19 am #14884309

Károly Farkas

Hello!

I am using WPML for a long time, but recently I encountered a strange behaviour.
On each page load, a huge number of queries (cc. 110000) slows down the page load. It only happens if admin user is logged in, and only on frontend pages.

2 processes generate these queries:
WPML_Element_Translation->maybe_populate_cache
WP_Post::get_instance (Called by YITH_WCWL->add_rewrite_rules)

Link to a page where the issue can be seen: hidden link

Screenshot 2023-11-21 101305.png
November 21, 2023 at 3:40 pm #14888741

Károly Farkas

As it turned out, a malfunctioning function in another plugin caused the huge number of queries. This issue is not related to WPML. Thanks.