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 – 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 4 replies, has 2 voices.

Last updated by Andreas W. 1 year ago.

Assisted by: Andreas W..

Author Posts
May 23, 2024 at 7:30 am #15660683

David Loke

I am using Chinese as main language, but I found that English is really slow. I installed Query Monitor, I found that this SQL query used 90s to process

SELECT wp_test_posts.ID
FROM wp_test_posts JOIN wp_test_icl_translations wpml_translations
ON wp_test_posts.ID = wpml_translations.element_id
AND wpml_translations.element_type = CONCAT('post_', wp_test_posts.post_type)
WHERE 1=1
AND (wp_test_posts.ID = '5937')
AND wp_test_posts.post_type = 'page'
AND ( ( ( wpml_translations.language_code = 'en'
OR ( wpml_translations.language_code = 'zh-hant'
AND wp_test_posts.post_type IN ( 'post','page' )
AND ( ( (
SELECT COUNT(element_id)
FROM wp_test_icl_translations
WHERE trid = wpml_translations.trid
AND language_code = 'en' ) = 0 )
OR ( (
SELECT COUNT(element_id)
FROM wp_test_icl_translations t2 JOIN wp_test_posts p
ON p.id = t2.element_id
WHERE t2.trid = wpml_translations.trid
AND t2.language_code = 'en'
AND ( p.post_status = 'publish'
OR p.post_status = 'private'
OR ( p.post_type='attachment'
AND p.post_status = 'inherit' ) ) ) = 0 ) ) ) )
AND wp_test_posts.post_type IN ('post','page','attachment','wp_block','wp_template','wp_template_part','wp_navigation','bxslider' ) )
OR wp_test_posts.post_type NOT IN ('post','page','attachment','wp_block','wp_template','wp_template_part','wp_navigation','bxslider' ) )
ORDER BY wp_test_posts.post_date DESC

I run the same SQL query in sometimes, it is fast response. May I know what is the issues?

May 23, 2024 at 6:16 pm #15664867

Andreas W.
WPML Supporter since 12/2018

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

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

Hello,

According to the query, there is an issue with creating a translation for the page with the ID 5937.

Could you please have a look at your pages list and let me know which page is having an issue with its translation? Please send me the name of the page or the link to the original content on Frontend.

From the WordPress Dashboard:
1) Log in to your WordPress admin dashboard.
2) Navigate to Pages (or Posts if you’re looking for post IDs).
3) Locate the page you want to find the ID for.
4) Hover your cursor over the title of the page.
5) Look at the left bottom corner of your browser window where you will the page's URL in your browser. Somewhere in the middle, you’ll see something like this:

?post=5937

The number after post= is the page’s ID

Best regards
Andreas

May 24, 2024 at 5:24 am #15665566

David Loke

Here is the URL: hidden link

May 24, 2024 at 3:55 pm #15668560

Andreas W.
WPML Supporter since 12/2018

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

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

It seems that this site is not using WPML's Advanced Translation Editor which is why I can not look up the job on our system. You must be using the Classic Translation Editor instead.

I would like to offer to have a closer look at the problem and request temporary access (wp-admin and FTP) to the website to investigate this issue further.

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

IMPORTANT
Please be sure to make a backup copy of the website and database before allowing us access.
If you can't see the wp-admin / FTP fields, your post and website credentials are set as PUBLIC. DO NOT publish the data unless you see the required wp-admin / FTP fields.

I may have to install a plugin called "All In One WP Migration" to make a copy of the website where I can 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 yourself for this purpose.

If you have any questions about creating such a staging site, you can consult your hosting provider. Just take note that WPML should be registered on this site again.

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

The private response form looks like this:
hidden link

Next time you reply, click "I still need assistance."

Video:
hidden link

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

May 28, 2024 at 2:08 pm #15679064

Andreas W.
WPML Supporter since 12/2018

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

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

Hello,

Please go to WPML > Settings > Translation Editor and set a translation editor option.

You can choose between:

- Classic Translation Editor
https://wpml.org/documentation/translating-your-contents/using-the-translation-editor/
or
-Advanced Translation Editor
https://wpml.org/documentation/translating-your-contents/advanced-translation-editor/

If you earlier used the Classic Translation Editor for creating the translation, then please set this option again.

If this will not solve the issue, please let me know.

Best regards
Andreas

translation editor.png

The topic ‘[Closed] page loading slow issues’ is closed to new replies.