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 1 reply, has 2 voices.

Last updated by Waqas Bin Hasan 1 year, 6 months ago.

Assisted by: Waqas Bin Hasan.

Author Posts
September 5, 2023 at 1:38 pm #14345023

thomasP-102

Hello,

We have 5 languages active and have recently noticed that spanish only is taking a long time to load. All other languages uneffected.

Could I ask for your help in finding the cause?

September 6, 2023 at 8:11 am #14349203

Waqas Bin Hasan
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hello Thomas,

Thank you for contacting the support.

I browsed your site, switched languages and everything looks super fast. Can you please explain that when exactly that load issue happens?

However, I believe following need to be fixed as per your debug information:

IMPORTANT: Take full backup of your website and database beforehand. It is highly advised to try the following on a staging/dev site first, so your live website isn't compromised.

- Fix “WP Memory Limit” to at least 128MB while 256MB is recommended. See https://wpml.org/home/minimum-requirements/ for detailed information. You can set this in your wp-config.php file by adding following code:

define( 'WP_MEMORY_LIMIT', '128M' );
define( 'WP_MAX_MEMORY_LIMIT', '256M' );

Remember to add these lines before the line where it says:
/* That's all, stop editing! Happy publishing. */

- Upgrade PHP to at-least version 7.4 as this is the minimum requirement by WordPress itself, see https://wordpress.org/about/requirements/ for details.

- Update WPML plugins to the latest versions.
- Update all other plugins and theme to the latest versions.

Please let me know if this helps resolving the problem.

Regards.