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.

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

Supporter timezone: Asia/Singapore (GMT+08:00)

Tagged: ,

This topic contains 7 replies, has 1 voice.

Last updated by Kor 2 weeks ago.

Assisted by: Kor.

Author Posts
May 22, 2025 at 1:14 am #17059287

Gilbert

Background of the issue:
I am trying to access the WPML / Settings page on our website hidden link to update it.

Symptoms:
The website is extremely slow, and the WPML / Settings page loads and freezes, preventing any interaction.

Questions:
Could you log in to our website and check the issue?
Can we provide you with admin access?

May 22, 2025 at 6:47 am #17059653

Bruno Kos
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch ) French (Français )

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

Hi,

Can you please check if this issue appears when:

- only WPML plugins are activated, as it will tell us if there is an interaction issue with other plugin
- theme is set to a WordPress default like Twenty Twenty as it will tell us if there is an interaction issue with your theme

If you find that the issue is no longer there, then I suggest you activate the theme first and check if the issue is still happening. If still all working well, then there is possibly some compatibility problem with any of your plugins, so you can for example activate 3 plugins at a time and observe the problem then.

Regards,
Bruno Kos

May 22, 2025 at 10:44 am #17060967

Gilbert

Hello Kos,
Thank you for your reply and suggestions. Once we disabled WooCommerce and all its plugins, we were able to access the Settings page and update it.

However, our website is an e-commerce platform, and we need to have WooCommerce working.
The website is nearly unusably slow, and we are getting a lot of errors in our PHP regarding WPML.

[proxy_fcgi:error [pid 2602914:tid 2603054 [client 171.6.236.253:0 AH01071: Got error 'PHP message: PHP Warning: preg_match_all(): Compilation failed: regular expression is too large at offset 53152 in /home/1440858.cloudwaysapps.com/qzhcrhvbnq/public_html/wp-content/plugins/sitepress-multilingual-cms/inc/absolute-links/absolute-links.class.php on line 447', referer: hidden link

Any suggestions?
Much appreciated

May 23, 2025 at 8:49 am #17064991

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. Woocommerce is fully compatible with WPML. It could be caused by another 3rd Party Woocommerce plugin. Could you please try reactivating the plugin one at a time to see which one is causing the issue? If you're unsure, you can share temporary access (WP-Admin and FTP) to a test site where the problem has been replicated, if possible. This will enable me to provide better assistance and determine if any configurations need to be modified.

Please note that it is important to have a backup for security purposes and to prevent any potential data loss. You can use the UpdraftPlus plugin (https://wordpress.org/plugins/updraftplus/) to fulfill your backup requirements.

Your upcoming reply will be treated with confidentiality and will only be visible to you and me.

✙ To resolve the issue, I may need your consent to deactivate and reactivate plugins and the theme, as well as make configuration changes on the site if necessary. This emphasizes the significance of having a backup.

June 1, 2025 at 8:46 pm #17095916

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. I've checked and it looks like you've got lots of product attributes and WPML is trying to load all translation options for the attributes, hence causing the delay.

Before I escalate this, I kindly ask for a snapshot of the site. Alternatively, with your permission, I can create one myself. For this purpose, I typically recommend using the free plugin "Duplicator." If you're already familiar with Duplicator (https://wordpress.org/plugins/duplicator/), please skip the following steps and simply send me the archive file you downloaded.

To guide you further, please adhere to these instructions:

1. View the Duplicator instructions video: hidden link

2. Consult WPML's instructions on providing supporters with a copy of your site: https://wpml.org/faq/provide-supporters-copy-site/

3. If the archive file exceeds 400MB, please use Duplicator's file filters to exclude cache, wp-uploads directory, media, and archive files.

Once you have the archive file ready, kindly share the link with us. You can utilize platforms like Google Drive, Dropbox, or similar for file sharing, as the snapshot file might be large.

Please note that your next reply will be private, visible only to you and me. You can paste the file link there. Rest assured that once the issue is resolved, I will delete the local site.

June 2, 2025 at 2:38 am #17096096

Gilbert

Hello Kor,
Yes please do proceed and create a Duplicator copy for yourself. You have the Admin access.
Let me know if you have any issues.
Thanks

June 2, 2025 at 3:07 pm #17098533

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your patience. I've escalated this to our 2nd Tier Support and I will come back to you once I've received feedback.

June 9, 2025 at 6:11 pm #17119414

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your patience. I have some feedback, and I've applied this workaround on your Website directly. WPML > Settings > is now loading faster now. Could you check?

Workaround : WCML_Attributes::get_translatable_attributes in /wp-content/plugins/woocommerce-multilingual/inc/class-wcml-attributes.php line 303

Replace

public function get_translatable_attributes() {
		$attributes = wc_get_attribute_taxonomies();

		$translatable_attributes = [];
		foreach ( $attributes as $attribute ) {
			if ( $this->is_translatable_attribute( wc_attribute_taxonomy_name( $attribute->attribute_name ) ) ) {
				$translatable_attributes[] = $attribute;
			}
		}

		return $translatable_attributes;
	}

with

public function get_translatable_attributes() {
		$transient_key = 'wcml_translatable_attributes';

		// Try to get cached value
		$translatable_attributes = get_transient( $transient_key );

		if ( false === $translatable_attributes ) {
			$attributes = wc_get_attribute_taxonomies();
			$translatable_attributes = [];

			foreach ( $attributes as $attribute ) {
				if ( $this->is_translatable_attribute( wc_attribute_taxonomy_name( $attribute->attribute_name ) ) ) {
					$translatable_attributes[] = $attribute;
				}
			}

			// Cache for 12 hours (43200 seconds)
			set_transient( $transient_key, $translatable_attributes, 12 * HOUR_IN_SECONDS );
		}

		return $translatable_attributes;
	}

The topic ‘[Closed] Settings Page Freezing’ is closed to new replies.