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

Last updated by Kor 4 days, 15 hours ago.

Assisted by: Kor.

Author Posts
October 13, 2024 at 8:04 pm #16283527

davidB-268

Background of the issue:
I'm trying to translate the menus on my site hidden link. The menus have some custom items and links. I wanted to use WP Menus Sync to translate them and then do the String Translation.

Symptoms:
I'm getting a timeout accessing the WP Menus Sync page since we have a lot of menus and we are behind Cloudflare.

Questions:
What are my best options for translating the menus?
Should I recreate the menus in French manually?

October 14, 2024 at 9:49 am #16284936

Kor
Supporter

Languages: English (English )

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

Thanks for contacting us.

I've checked your Website and I noticed that your navigation menu is not complex or heavily populated.

I will need to closely examine your website. Therefore, I will require 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.

October 15, 2024 at 10:39 am #16290039

Kor
Supporter

Languages: English (English )

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

Thanks for your reply.

Could you please increase the PHP memory limit as shown here hidden link ? Then, let me know and I will recheck.

October 15, 2024 at 2:45 pm #16291488

davidB-268

I increased it to 256M, same as on the live site.

There is little change in the time for execution of getting to the WP Menus Sync menu on the staging site, it takes about 8 minutes.

Any other thoughts on this?

Thanks,

Dave

October 15, 2024 at 5:55 pm #16292265

Kor
Supporter

Languages: English (English )

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

Thanks for your reply. Before I escalate this to our 2nd Tier Support, 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.

October 16, 2024 at 5:49 pm #16297268

Kor
Supporter

Languages: English (English )

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

Thanks for your reply.

I've downloaded a copy of the site and I will investigate this further and will come back to you as quickly as possible.

October 17, 2024 at 5:31 pm #16301703

Kor
Supporter

Languages: English (English )

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

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

October 21, 2024 at 4:12 pm #16313503

Kor
Supporter

Languages: English (English )

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

Thanks for your patience. Our 2nd Tier Support is still reviewing the report and I will come back to you once I hear from them.

October 21, 2024 at 6:35 pm #16314030

davidB-268

Ok, thanks, Kor.

I may end up trying things on another site, we'll see.

Dave

October 22, 2024 at 10:37 am #16316558

Kor
Supporter

Languages: English (English )

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

Thanks for your patience. This is what our 2nd Tier Support mentioned.

32% of the load time is related to the mu-plugin nexcess-mapps.php . Potentially some DISK IO issues or the fact that they are using 10.5.16-MariaDB

Could you check with your hosting provider again?

October 22, 2024 at 12:50 pm #16317431

davidB-268

This is helpful, Kor.

I'll mention what you're saying, but let's say the above is totally resolved. That takes the 8 minutes down to maybe 5 minutes to load?

It would be more helpful to understand what the plugin requirements are from a hosting perspective so that I can check with them.

I can also spin up a server on another hosting platform if that will help.

I also need to know what the plugin is doing such that it is banging on the database so much because we're not having any problems with anything else.

And are they still checking into this more?

Let me know.

Thanks,

Dave

October 22, 2024 at 12:58 pm #16317490

Kor
Supporter

Languages: English (English )

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

Thanks for your reply.

I have another feedback to share and this is what our 2nd Tier Support mentioned.

I deployed the exact version of MariaDB locally.
However, I am not seeing the same issue.
At this time, I think we have an issue with Disk IO. It is not serious to get such a slow query for just:

SELECT COUNT(*)
FROM wp_comments JOIN wp_icl_translations icltr2
ON icltr2.element_id = wp_comments.comment_post_ID JOIN wp_posts
ON wp_posts.ID = icltr2.element_id
AND CONCAT('post_', wp_posts.post_type) = icltr2.element_type
LEFT JOIN wp_icl_translations icltr_comment
ON icltr_comment.element_id = wp_comments.comment_ID
AND icltr_comment.element_type = 'comment'
WHERE ( comment_approved = '1' )
AND icltr2.language_code = 'en'
AND (icltr_comment.language_code IS NULL
OR icltr_comment.language_code = icltr2.language_code )

and not happening locally with 1:1 setup.

All this means that the user should contact his hosting to ask them whats going on.

Have you checked with your hosting provider? Also, yes, let's try this on another host and see if it loads correctly.

October 22, 2024 at 1:11 pm #16317583

davidB-268

Hi Kor,

I will give them this feedback, as well as try on another provider.

It will take me some time to do all of this.

Thanks for your support.

Dave

October 22, 2024 at 5:21 pm #16318808

davidB-268

Hi Kor,

The entire staging site was being very slow. I had to do a database repair and it became fast again. However, going to WP Menus Sync still took almost 6 minutes.

I recorded a video for Nexcess and we'll see what they say. I also disabled the code profiler.

Thanks,

Dave

October 22, 2024 at 5:23 pm #16318816

Kor
Supporter

Languages: English (English )

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

Thanks. Let me know how it goes.