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.
Tagged: Exception
This topic contains 10 replies, has 3 voices.
Last updated by Prosenjit Barman 1 year, 9 months ago.
Assisted by: Prosenjit Barman.
Author | Posts |
---|---|
August 11, 2023 at 7:00 am #14186053 | |
a1B |
I am trying to: use search menu to find strings Link to a page where the issue can be seen: it can only be found in the administrative section I expected to see: I'm trying to search strings but when I click on the search button, nothing happens. As you can see from the debug information, I have assigned 512M memory, so it's not memory related issue. |
August 11, 2023 at 11:38 am #14188161 | |
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+02:00) |
Hello, can you please try to disable other plugins except for WPML plugins, WooCommerce, and Woodmart plugins. Then check if the issues still happen. If issues still happen, please try with another browser as it could be some addon causing conflict. Let us know how it goes. |
August 11, 2023 at 12:26 pm #14188543 | |
a1B |
I've tried deactivating all plugins and changing browser, but the issue still persists. I have also tried using different computers. No result. |
August 14, 2023 at 4:54 am #14194341 | |
Prosenjit Barman WPML Supporter since 03/2023
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
Hello There, Thanks for trying out the suggestions. As the issue persists even after that, a closer inspection will require to understand the root cause of the issue. I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. It would be better to have a testing site where the issue is replicated. You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it. Maybe I'll need to replicate your site locally. For this, I’ll need to temporarily install a plugin called “Duplicator” or "All in One WP Migration" on your site. This will allow me to create a copy of your site and your content. Once the problem is resolved I will delete the local site. Let me know if this is ok with you. IMPORTANT Looking forward to your response. Best Regards, |
August 14, 2023 at 8:49 am #14196027 | |
a1B |
I have sent the private response. Please confirm that you have received it |
August 14, 2023 at 12:05 pm #14197087 | |
Prosenjit Barman WPML Supporter since 03/2023
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
Hello There, I checked the String translation error and found some errors on the console(hidden link). However, when I deactivate the WooCommerce plugin, the error no longer appears in the console, and also, the issue immediately gets resolved. I also tried to reproduce the issue in a Fresh environment and everything seems to be working fine there/ It seems the Color picker is called before the Jquery is loaded which is why, the function can't be processed properly. However, upon searching further, I have successfully been able to figure out a workaround. Would you please try implementing that? Make sure to take a full backup of the site including the database. - Please go to the File directory of your site from cPanel or use FTP wp_enqueue_script( 'wpml-st-scripts', WPML_ST_URL . 'https://cdn.wpml.org/res/js/scripts.js', array('wp-color-picker'), WPML_ST_VERSION ); - Save the changes Please let me know if that helps to solve the issue or if you need further assistance. I will be happy to help. Best Regards, |
August 14, 2023 at 1:42 pm #14197569 | |
a1B |
Thank you. I have replaced the code with the line you provided, however, the string translation is still not working. Could you please check? you have FTP access, so please, feel free to modify the files for yourself so we can speed up the proccess. |
August 15, 2023 at 8:10 am #14201595 | |
a1B |
I'm going to need assistance. I cannot translate my client's website and they are getting angrier by the minute. Could you please look into my issue? |
August 15, 2023 at 8:29 am #14201629 | |
Prosenjit Barman WPML Supporter since 03/2023
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
Hello There, I checked and fixed the issue. The URL that loads the script was somehow replaced on your end which is why, it wasn't working. I adjust the URL and everything is working fine now. Please check and let me know if you need any further assistance. Best Regards, |
August 16, 2023 at 5:15 am #14205905 | |
a1B |
The issue has been resolved. Thank you. However, after that update, the website loads painfully slow both on the frontend and the backend. Could you please check? |
August 17, 2023 at 3:51 am #14241945 | |
Prosenjit Barman WPML Supporter since 03/2023
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
Hi There, However, as you mentioned, you are experiencing a loading issue on your site following the recent changes. I have examined the site both with and without the script, but I was unable to identify a significant difference in loading times. Additionally, please note that the script is designed not to load and impact the frontend. I also have removed a similar script from the same PHP file but that also didn't make any noticeable changes in loading time either. I'm including the performance profiler result below. Frontend: 3.42s (Screenshot: hidden link) It is possible that any other factor is involved with the loading issue. I kindly request you to analyze the site properly and check which script or Database queries are causing the loading issue. You can follow the instructions mentioned in this documentation: https://wpml.org/tutorials/2019/10/analyze-performance-issues-with-query-monitor/ Let us know the updates. Best Regards, |