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
As it turned out, a malfunctioning function in another plugin caused the huge number of queries. This issue is not related to WPML. Thanks.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.