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 |
---|---|---|---|---|---|---|
- | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | - |
- | 12:00 – 16:00 | 12:00 – 16:00 | 12:00 – 16:00 | 12:00 – 16:00 | 12:00 – 16:00 | - |
Supporter timezone: Europe/Zagreb (GMT+01:00)
Tagged: Performance
This topic contains 18 replies, has 2 voices.
Last updated by Dražen 1 day, 1 hour ago.
Assisted by: Dražen.
Author | Posts |
---|---|
June 28, 2023 at 12:08 am #13906461 | |
jordanP-2 |
Hi, I've noticed my client's site has major loading issues when I'm logged into WordPress. Navigating to any page in the admin dashboard takes 30-90 seconds. Thankfully, if you're logged out, the front-end loads just fine. I tried deactivating plugins and the slowness goes away when I deactivate WPML. We only noticed the issue this week, so I'm wondering if it's a problem with 4.6.4. I tried optimizing MySQL queries by following this documentation: https://wpml.org/faq/how-to-optimize-mysql-queries/ It didn't make a difference. I installed the Debug Bar plugin. I couldn't put all of the queries in Pastebin because they exceeded the 512kb limit, but here's what I could add: https://pastebin.com/K9fq8EKC I've been playing around in a dev environment: hidden link I'm happy to set up access for you if you need to login. This is my third time trying to submit this ticket--I keep getting an error saying there's too much data. I think it must be the debug info. (I can't upload it to Pastebin because it exceeds their limit too.) Thank you! |
June 29, 2023 at 7:20 am #13915337 | |
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+01:00) |
Hello, thanks for contacting us. Can you please follow the next steps: 1) In order to expedite handling your support requests, can you please try again to share WPML support debug information from your site. More information on the link: https://wpml.org/faq/provide-debug-information-faster-support/ 2) Please check if the issue still happens when using the WP default theme (2021) and only WPML plugins are active, all others disabled. 3) If not, enable plugins in smaller groups and try to see if any specificly with WPML, causes issues. Let me know. Thanks, |
June 29, 2023 at 11:37 pm #13920601 | |
jordanP-2 |
Hi Dražen, I switched to 2021 and deactivated all of the plugins except the WPML ones. The site might have been a little faster, but not by much. It's definitely too slow to be usable. I still get a 413: Request Entity Too Large error when I try to submit the debugging info through this thread. The best I can do is paste it into a txt file and upload it to Dropbox: hidden link I've tried another 3 times to submit this ticket and now I just get an "error: are you sure you want to do that" after submitting. I'm going to try to submit some of the debugging info here. All of it is in the Dropbox link, though. |
June 30, 2023 at 6:46 am #13920987 | |
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+01:00) |
Hello, thanks for checking. Please make a full backup of your site (files and database) and confirm it in your next reply. Please note, that I might need to do some debugging procedures like enable/disable plugins, switch themes, change the default language of the user account, and/or access your website database to debug the issue furtherly. I will share with you any changes or steps done in this process. Please let me know if you do not agree with the above or if I do not have your permission for any. I would need to access both your site's wp-admin and FTP account, if possible. I have enabled the private username and password fields in your next reply. I suggest you create a new user, set it as an administrator and then add those credentials in the private fields mentioned. You can safely add your information into these fields. Regards, |
July 3, 2023 at 6:48 am #13930309 | |
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+01:00) |
Hello, thanks for getting back. I have tried, but get and error that the username is not existing on the website, please try to make sure shared credentials are working. You can edit the private reply above. Regards, |
July 3, 2023 at 2:07 pm #13933665 | |
jordanP-2 |
Hi, Please try again. The username and password should work properly this time. |
July 4, 2023 at 6:53 am #13937353 | |
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+01:00) |
Hello, thanks for getting back. I am able to log in to WP Admin, but still can not use FTP. Can you please check and confirm they work? Also, if needed, is it okay if we take a copy of the website, for further debugging? Thanks, |
July 5, 2023 at 3:31 pm #13952257 | |
jordanP-2 |
Hi, |
July 5, 2023 at 5:45 pm #13953307 | |
jordanP-2 |
I also forgot to mention that the port is :2222 maybe it was not working because you were using :22 as the port |
July 6, 2023 at 7:28 am #13955777 | |
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+01:00) |
Hello, thanks I have taken a copy and was able to confirm the issue in localhost. After trying some procedures, I was not able to fix the issue, so I escalated the ticket to our 2nd tier for further checking. I will update you soon. Regards, |
July 6, 2023 at 2:04 pm #13960803 | |
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+01:00) |
Hello, our 2nd tier checked and escalated the issue further. Our devs will have a look and we will probably implement permanent fixes in future versions to avoid such issues. The issue is in \WPML\BackgroundTask\BackgroundTaskLoader::getSerializedTasks it appears to iterate over 6,382 rows A quick workaround and fix would be to clean and remove any entries in icl_background_task table. Please make a backup before proceeding. Please try and let me know how it goes. Regards, |
July 10, 2023 at 5:17 pm #14008795 | |
jordanP-2 |
Hi, That helped a lot, thank you! Your team is still looking into a permanent fix, correct? |
July 10, 2023 at 7:42 pm #14009207 | |
jordanP-2 |
Hi, Sorry, another question. Do you foresee any issues if we try to add a third language before your team gets the permanent solution in place? I'm not sure if we should hold off on that work or not. |
July 11, 2023 at 6:26 am #14010113 | |
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+01:00) |
Hello, yes, we are still working on a permanent fix, it is for now scheduled for WPML 4.6.6. As for 3rd language, I am not 100%, but I guess it should work fine. If you encounter any new issues, feel free to open a new ticket and our team will be glad to check and help out. Regards, |
July 11, 2023 at 3:43 pm #14016801 | |
jordanP-2 |
Thanks for the update, that's good to know. Is there an estimate for when WPML 4.6.6 will be released? Also, if the dashboard starts slowing down again, should we remove all entries from the icl_background_task table? |