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 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | - |
- | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | - |
Supporter timezone: America/Los_Angeles (GMT-07:00)
Tagged: Performance
This topic contains 9 replies, has 2 voices.
Last updated by georgeC-7 7 hours ago.
Assisted by: Bobby.
Author | Posts |
---|---|
June 22, 2024 at 6:24 pm #15786930 | |
georgeC-7 |
Background of the issue: Symptoms: Questions: |
June 24, 2024 at 10:31 pm #15812166 | |
Bobby Supporter
Languages: English (English ) Timezone: America/Los_Angeles (GMT-07:00) |
Hi there, Thank you for sharing these findings, I will review them and in the meantime, may I ask you to please do the following: 1 - Re run this action if you have not yet on the staging site 2 - Can I reproduce the performance issue simply by reloading any page or the dashboard in the backend or do I need to do this with specific pages/posts ? 3 - You mentioned that you see a loading time increase of 10 seconds with WPML activated a. What are your results when you leave WPML activated but instead switch your theme to a standard theme such as twenty24 b. What are your results when WPML and any 3rd party plugin that is essential to have the site working are activated? (Sometimes certain 3rd party plugins + WPML can have some incompatibility causing this ) |
June 25, 2024 at 7:29 am #15817368 | |
georgeC-7 |
Hello Bobby, Hello, 1. I have re-run the process as per the guide, but unfortunately, it did not resolve the issue. While it seems logical to suspect our custom theme as the source of the problem, but after extensive debugging and research by both our team and external developers for the last couple of weeks have not revealed any bugs or issues within the theme. All of them agreed and asked me to create a ticket on WPML. We have successfully implemented many projects over the past years, with the same tools, same devs, same theme! It's the first time facing this issue. Thank you. |
June 25, 2024 at 6:12 pm #15824138 | |
Bobby Supporter
Languages: English (English ) Timezone: America/Los_Angeles (GMT-07:00) |
Thank you for walking through these steps and confirming them with me. Given that the issue is resolved when switching from the custom theme to a standard WP theme, it strongly suggests that the theme's code is the root cause. Otherwise, such a significant difference wouldn't be observed. Based on the information, it is logical to believe this issue is due to a conflict between the theme and WPML's code. Since you hired a team to test this further, what was their opinion? Did they find any specific issues with the theme? The shared information was solely on WPML's code which when the theme is not present does not have this issue. I'd be happy to escalate this to our development team for review, but please note that we cannot support custom themes as per our policy. |
June 26, 2024 at 11:19 am #15833011 | |
georgeC-7 |
Hello Bobby, Every developer who has taken on this task agrees that the issue originates from the WPML String Translation plugin. FYI, all tests and profiling indicate the plugin as the problem. Please see the attached images and logs from another server, which also confirm that this is not a theme issue but rather a plugin fault. As the authors of the theme, we have had multiple developers thoroughly inspect the issue and the theme itself. None of us, including myself, have found anything wrong, nor any unusual queries or other issues. To be honest and clear, using an empty storefront theme doesn’t really convince me that the plugin is functioning correctly. This is why we continue to contact support, as we are not getting anywhere by looking at the same aspects repeatedly. We kindly request your support or the involvement of tier 2 support to take a closer look at this issue. We are out of options. All we need is to find what is causing this massive delay in loading. Thanks you for your help! |
June 26, 2024 at 11:21 am #15833061 | |
georgeC-7 |
And the Slowlog and the reposnse from the server support that run an inspection also on the website! |
June 26, 2024 at 8:01 pm #15837027 | |
Bobby Supporter
Languages: English (English ) Timezone: America/Los_Angeles (GMT-07:00) |
Thank you for the above information. I am happy to investigate this further but I will note again that our support is limited when it comes to custom themes and custom work overall. I would like to request temporary access (wp-admin and FTP) to your site to test the issue. **Before we proceed It is necessary to take FULL BACKUP of your database and your website. Providing us with access, you agree that a backup has been taken ** I often use the Duplicator plugin for this purpose: http://wordpress.org/plugins/duplicator/ NOTE: If access to the live site is not possible and the staging site does not exist please provide me with a duplicator package created with the duplicator plugin. Thank you, |
July 1, 2024 at 6:46 am #15865948 | |
georgeC-7 |
Hello Bobby, Thank You! |
July 1, 2024 at 6:29 pm #15870180 | |
Bobby Supporter
Languages: English (English ) Timezone: America/Los_Angeles (GMT-07:00) |
Hi there, I believe the issue here might be more related to woocommerce rather than WPML String Translation alone. With WPML String Translation deactivated WooCommerce Multilingual does not work and activating it essentially turns the multilingual part of the WC store 'on' These are some benchmark reports on loading time with WPML String Tranlsation deactivated: Front end -- 11.27 Admin dashboard -- 11 Store front end -- 11.8s (Displays product categories) Here they are with String Translation deactivated: Front end -- 15.22 Store front end -- 24.95s WPML + WPML ST + Custom Theme deactivated and switched to Twenty23 Store front end -- 5.5s ----> Most likely because nothing loads, the product categories are being pulled by the custom theme. same thing with the front end homepage, which does not make this test very reliable. ------------------------------------------- Unforutnately I cannot proceed with these tests as the server is triggering a 504 Gateway Time-out Error after I deactivated the following plugins from step #2 1. Go to WPML->Settings-> Taxonomies Translation -> Review the taxonomies from Bathtub Components - Type (pa_aksesoyar-mpanieras-typo) and on. Essentially all the ones that are set to Translatable use translation if available or fallback to default language switch to Translatable switch the setting Translatable only show translated items This setting is known to increase the resources required and can cause performance issues. After changing these settings, what are your results? 2. Deactivate the caching plugins for now (Once you turn them back on we recommend using only one caching plugin rather than 2) WP Super Cache |
July 2, 2024 at 7:09 am #15873001 | |
georgeC-7 |
Hello Bobby! Thanks for the clear explanation of the steps you've followed. The 504 issue has been resolved on the staging environment. Your expertise in continuing to investigate this matter would be incredibly valuable, as I am unsure of the next steps. I would greatly appreciate your assistance. Thanks in advance for your support! |