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

Last updated by Kor 1 year, 3 months ago.

Assisted by: Kor.

Author Posts
February 21, 2024 at 6:13 pm #15329939

Kor
WPML Supporter since 08/2022

Languages: English (English )

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

Thanks for your reply.

I've downloaded and imported the duplicator package into my local dev site and I'm able to open the menu sync without issues as shown in the attached screenshot.

It looks like the issue is isolated to your server for some reason.

Please allow me to escalate this further to our 2nd Tier Support for further investigation. I will come back to you once I've feedback.

Screenshot_132.png
February 22, 2024 at 8:21 am #15331581

valerieB-11

Hi Team,

Yes even in my localhost i can able to open it only pantheon server cant open the wp menu sync but pantheon support team tells that there is slow running php code in this plugin so according to them this need to be fixed. Or please let me can we add any configuration for timeout issue because the menu sync query executing too long it seems to be .

Thanks,

February 22, 2024 at 10:41 am #15332680

Kor
WPML Supporter since 08/2022

Languages: English (English )

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

Thanks for your patience.

Our second tier support is checking on this and I will come back to once I've feedback.

February 22, 2024 at 7:16 pm #15335458

Kor
WPML Supporter since 08/2022

Languages: English (English )

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

Thanks for your patience.

Our 2nd Tier Support responded and he asked if you could ask your server support if they can share more details about why that request is failing.

Because when we tested it, on our local dev site, we could open the menu sync without issues. So, we suspected the issue is related to the server.

April 5, 2024 at 1:04 pm #15488285

valerieB-11

Hi Team,

We have contacted with pantheon server support team , they recommended us to look into slow running php files i took some time to check the errors logs and slow running codes. Could you guide me which file is loading wp-menu-sync the query may be delayed i think i cant find the code which one is giving "the application did not respond time"

Slow running files

script_filename = /code//wp-admin/admin.php
[0x00007f21cd215fb0] mysqli_query() /code/wp-includes/class-wpdb.php:2187
[0x00007f21cd215f40] _do_query() /code/wp-includes/class-wpdb.php:2076
[0x00007f21cd215e60] query() /code/wp-content/plugins/query-monitor/classes/DB.php:29
[0x00007f21cd215da0] query() /code/wp-includes/class-wpdb.php:2854
[0x00007f21cd215cb0] get_results() /code/wp-content/plugins/sitepress-multilingual-cms/inc/wp-nav-menus/wpml-menu-sync-functionality.class.php:253
[0x00007f21cd215be0] sync_page_menu_item_trids() /code/wp-content/plugins/sitepress-multilingual-cms/inc/wp-nav-menus/wpml-menu-sync-functionality.class.php:455
[0x00007f21cd215b30] maybe_reload_post_item() /code/wp-content/plugins/sitepress-multilingual-cms/inc/wp-nav-menus/wpml-menu-sync-functionality.class.php:142
[0x00007f21cd215980] get_menu_item_translations() /code/wp-content/plugins/sitepress-multilingual-cms/inc/wp-nav-menus/wpml-menu-sync-functionality.class.php:59
[0x00007f21cd215880] get_menu_items() /code/wp-content/plugins/sitepress-multilingual-cms/inc/wp-nav-menus/menus-sync.php:107
[0x00007f21cd2157a0] get_menus_tree() /code/wp-content/plugins/sitepress-multilingual-cms/inc/wp-nav-menus/menus-sync.php:56

April 5, 2024 at 2:00 pm #15488458

Kor
WPML Supporter since 08/2022

Languages: English (English )

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

Thank you for getting back to me.

I've passed along your response to our 2nd Tier Support team. They will review it and get back to us accordingly. I'll keep you updated once I receive their feedback.

April 18, 2024 at 12:14 pm #15538397

valerieB-11

Hi Team,

Any update on this

April 18, 2024 at 5:43 pm #15540517

Kor
WPML Supporter since 08/2022

Languages: English (English )

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

Thank you for your patience.

I've received feedback from our 2nd Tier Support, and here's what was mentioned:

On the client server, requests are terminated after 59 seconds. Despite enabling auto register strings, the issue persists. After updating WordPress (WP) and WPML on the local server, the processing time decreased to 55 seconds.

Please advise the customer to take the following steps:

1. Disable the Black Bar, Debug Bar, and Query Monitor plugins. These plugins log SQL queries, which can increase query time.
2. Update WordPress to version 6.5, WPML to version 4.6.10, and ST to version 3.2.11, then recheck.
3. If the issue persists, consider extending the gateway timeout from 1 minute to 1.5 or 2 minutes.

Could you give this a try and let me know how it goes? If you're not sure how to increase the gateway timeout, please contact your hosting provider.

The topic ‘[Closed] Unable to use WPML menu sync’ is closed to new replies.