Skip to content Skip to sidebar

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.

Sun Mon Tue Wed Thu Fri Sat
- - 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00
- - - - - - -

Supporter timezone: America/Lima (GMT-05:00)

This topic contains 2 replies, has 1 voice.

Last updated by Andreas W. 5 months ago.

Assisted by: Andreas W..

Author Posts
January 31, 2025 at 7:16 pm #16657065

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Sorry, but this analysis by Code Profile seems not correct.

It says WPML causes a load time of 9.5 seconds on:
https://wpml.org/forums/topic/performance-issues-with-acfml/

If I open this URL in a browser tab it loads in 2 seconds.

Could you please clarify where I can see such long loading times on the backend or which steps I need to take?

February 3, 2025 at 12:38 pm #16662714

Philip

Hi Andreas,

Thank you for your review and for your time.

I have applied the fix you recommended here https://wpml.org/forums/topic/performance-issues-with-acfml/ but I do not see it somehow made things better for us.

I did some comparison tests again today on these pages:
hidden link - Dashboard
hidden link - Posts

So, here you can see the difference on loading time: hidden link

BTW, this is what we have in LIVE for same pages but with all plugins active:
hidden link

If we'll closer take a look what happens on Posts page (let's consider Dashboard is quite good at the moment) we'll see the following:

1) wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/functions.php takes 3.37 sec to load.

This is what we have in LIVE:
hidden link

2) These methods are on the top when we check loading time: hidden link

3) This query takes almost a second to load:

SELECT option_value FROM wp_options WHERE option_name = 'icl_sitepress_settings' LIMIT 1

For all these points we have to keep in mind that only WPML & ACF are active for now so it's actually not a "real condition".

BTW, in my browser console I also found this process take 3-4 seconds to finish: hidden link
Maybe you know if this sync can be somehow optimized to work faster?

If you have any other optimization ideas or tips on how to improve the situation in terms of admin panel speed - please let us know.

February 4, 2025 at 7:17 pm #16668327

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

I am sorry, but I do not see such high load times on your site.

Dashboard and Posts load here in 2-4 seconds.

Also, we are talking here about background tasks on WP Admin. Load times up to 10 seconds are very common in such cases.

If the load time would be significantly higher we could investigate further, but for this I really need to see an issue when loading a page.

What I generally can suggest for your site:

Your server uses PHP 7.4.33. You will get a way better performance using PHP 8.3.xx

February 17, 2025 at 6:58 pm #16716033

Philip

Hi Andreas,

I'm preparing tests now to give you information on how WPML affects page loading. Please give me 1-2 days to prepare everything for you.

Thank you,

February 18, 2025 at 4:28 pm #16720201

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Before running the tests, please consider updating PHP on your server.

From my last comment:
Your server uses PHP 7.4.33. You will get a way better performance using PHP 8.3.xx

I will be awaiting your feedback.

February 19, 2025 at 10:54 am #16723669

Philip

Hi Andreas,

Yes, we have upgraded DEV environment to PHP 8.1.31

So, to confirm our thoughts that WPML affects page load speed - we have installed the WP Shifty plugin which allows to disable plugins on specific pages. Having this feature, we also have Code Profiler to change the speed difference.

We saw that when all plugins are activated, the page load speed of the All Pages page is 30.2768s, next we disabled for this page these 4 plugins:

- WPML Multilingual CMS
- WPML SEO
- WPML Media Translation
- WPML String Translation

Next - we ran Code Profiler on the same page and page load speed now is 10.5669s

Please see: hidden link

Also, we can see that the number of SQL queries has decreased significantly (4,333 items -> 2,109 items):

All plugins enabled:
hidden link

WPML plugins disabled:
hidden link

In other words, we can definitely see that a third of the time is taken up by WPML.

Could you look again? Your accesses are working and up to date.

Also, the page is now accessible and running fast hidden link (since WPML is disabled on it) but you can re-enable them here hidden link : hidden link

Please let me know your thoughts on this.

February 19, 2025 at 2:52 pm #16725409

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hi,

I would like to offer to take a closer look and request temporary access (wp-admin and FTP) to the site to investigate the issue further.

The required fields are below the comment section when you log in to leave the next reply. The information you provide is private, meaning only you and I can see and access it.

IMPORTANT
Please be sure to back up the site and database before granting us access.

If you can't see the "wp-admin / FTP" fields, your post and site login details will be set to "PUBLIC". DO NOT publish the data unless you see the required wp-admin / FTP fields.

I may need to install a plugin called "All In One WP Migration" here to create a copy of the site that I can use to investigate the issue further.

However, I would also be very grateful if you could provide a staging site or copy of the website from your server for this purpose.

If you have any questions about creating such a staging site, you can consult your hosting provider. Please note that WPML must also be registered on this staging site at https://wpml.org/de/account/websites/.

If you are not able to provide such a copy of the website for testing, please let me know on this ticket.

The private reply form looks like this:
hidden link

The next time you reply, click on "I still need assistance".

Video:
hidden link

Please note that we are obliged to request this information individually on each ticket. We are not allowed to access any credentials that were not specifically submitted on this ticket in the private response form.

Best regards
Andreas

February 20, 2025 at 12:36 pm #16729535

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

According to WordPress, the provided username does not exist on this website.

Please validate the provided information and leave me a comment on this ticket once access is granted.

The private reply form is enabled again.

February 20, 2025 at 2:17 pm #16730174

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

On a first visit to Seiten > Alle Seiten and revise the Performance Tab in Google Chrome the page loads completely in 10 seconds. The first-page load might always take longer than the upcoming ones.

See screenshot.

Testing without WPML takes about 5 seconds. The higher load time can be expected due to the amount of active language that WPML needs to filter.

Activating WPML and opening the page again I get 5.7 seconds load time.

Disabling "Admin Menu Tree Page View" the load time even goes down to 3.5 seconds with WPML active. It is kind of expected that the plugin "Admin Menu Tree Page View" enhances the load time as it adds many new menu items to the dashboard.

I can not see any issue caused by WPML on the site.

Maybe you got a different example?

---

Also, please register WPML on this site and run the latest updates at Plugins > Add new > Commercial.

performance final.jpg
all pages.jpg
performance with WPML.jpg

The topic ‘[Closed] PHP Fatal error in PreloadThemeMoFile.php’ is closed to new replies.