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.

Tagged: 

This topic contains 9 replies, has 0 voices.

Last updated by Dražen 1 week, 6 days ago.

Assisted by: Dražen.

Author Posts
May 23, 2025 at 7:08 am #17064435

Apa SEO

Background of the issue:
I am experiencing severe performance issues on my website hidden link, where each page load takes around 15 seconds. After investigating with the Query Monitor plugin, I discovered that WPML is responsible for a large number of database calls. The function WPML_Element_Translation->maybe_populate_cache is being called nearly 4,800 times on a single page load, consuming significant execution time. Other WPML-related functions such as WPML_Query_Filter->determine_post_type, WPML_Query_Parser->parse_query, and WPML_404_Guess->find_post_type also appear frequently.

Symptoms:
WPML is causing slow page load times due to a large number of database calls.

Questions:
How can I reduce the performance impact of WPML?
What might be misconfigured in WPML causing these performance issues?
Are there any optimization tips or settings adjustments to improve site speed while maintaining multilingual functionality?

May 23, 2025 at 7:56 am #17064703

Dražen
Supporter

Languages: English (English )

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

Hello,

this is ticket, let me know how it goes and if you manage to find out which plugin is causing the issue, or you need help.

Regards,
Drazen

May 23, 2025 at 9:38 am #17065188

Apa SEO

Hi I tried disabling some groups of plugins but I can't locate the one and those causing the problem. Can you guys do some tests?

May 23, 2025 at 10:26 am #17065516

Dražen
Supporter

Languages: English (English )

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

Hello,

sure, but did you some changes?

I can do not see anymore Query monitor in top bar, so I can not see results to debug further.

Regards,
Drazen

May 23, 2025 at 10:46 am #17065621

Apa SEO

Try now

May 23, 2025 at 11:39 am #17066070

Dražen
Supporter

Languages: English (English )

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

Hello,

I checked and found plugin EditorsKit is causing issue. This plugin is not on our list so it is not officially compatible with WPML, so some issue may happen.

I advise to contact plugin author and advise them joining our Go Global program so we can make it compatible together:

- https://wpml.org/documentation/support/go-global-program/

Regards,
Drazen

Irion Support.jpg
May 23, 2025 at 12:08 pm #17066146

Apa SEO

I kindly ask you to test on pages similar to this one hidden link. It still takes about 15 seconds to load, even with the plugin in question disabled

May 23, 2025 at 12:21 pm #17066182

Dražen
Supporter

Languages: English (English )

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

Hello,

I checked and that is correct, but when I try to use parent theme KnowAll I do not get such long load, so I am not sure if you are using any custom code / configuration in you child theme that affect this.

Can you check if the issue still happens with parent theme?

Regards,
Drazen

May 23, 2025 at 12:27 pm #17066242

Apa SEO

Yes, there is some custom code, but nothing that calls up wpml.

May 23, 2025 at 12:39 pm #17066299

Dražen
Supporter

Languages: English (English )

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

Hello,

okay, but I do not know how it affect it nor I can confirm it, it would require me to debug your custom code etc. Can you please show us issue with parent official theme, that way we can debug it and check further. Since that theme is compatible with WPML and should work fine.

Regards,
Drazen