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: Bug
This topic contains 9 replies, has 2 voices.
Last updated by Alejandro 1 year, 8 months ago.
Assisted by: Alejandro.
Author | Posts |
---|---|
August 16, 2023 at 12:08 pm #14209449 | |
andrejH-4 |
Hi, when I enable WPML String Translation the website can't load. It is trying to load the website, but can't. The hosting team says this plugin has some errors and drains the whole resources. When we deactivate WPML String Translation the website loads normally. Do you know why this is happening? We have the latest version of the plugins. Thanks! Best regards |
August 16, 2023 at 4:58 pm #14240069 | |
Alejandro WPML Supporter since 02/2018
Languages: English (English ) Spanish (Español ) Italian (Italiano ) Timezone: Europe/Rome (GMT+02:00) |
Hello! Could you run a quick test for me about this, please? can you ask your hosting or try the following yourself: - Using FTP or a file manager go to the "wp-content" directory Does it get activated and NOT crashes your site? if it doesn't then the problem has to do with a very probable corrupt MO file (a standard file from WordPress that loads the translations in different languages for themes and plugins). Please let me know so i can understand how to continue. |
August 16, 2023 at 5:05 pm #14240095 | |
Alejandro WPML Supporter since 02/2018
Languages: English (English ) Spanish (Español ) Italian (Italiano ) Timezone: Europe/Rome (GMT+02:00) |
By the way: - WPML needs a minimum of 128MB of memory to work correctly and it seems you are not meeting this requirement. Kindly add this code into your wp-config.php file, right after the database information: define ('WP_MEMORY_LIMIT', '256M'); define ('WP_MAX_MEMORY_LIMIT', '256M'); - What version of String translation do you currently have installed on your site? did you update it after you updated WPML to version 4.6.5? |
August 16, 2023 at 5:18 pm #14240173 | |
andrejH-4 |
Hi, when we rename the languages directory and activate the string translation plugin it works fine. We have updated the memory limit, thanks. The string translation version is 3.2.7. The error started to happen after we tried to translate some theme strings. Thanks! Best |
August 17, 2023 at 8:05 am #14243475 | |
Alejandro WPML Supporter since 02/2018
Languages: English (English ) Spanish (Español ) Italian (Italiano ) Timezone: Europe/Rome (GMT+02:00) |
Could you try the following? - Go to WPML > String Translation We have spotted a problem that might be linked to this and it seems the cause is with this particular string domain. if this is the case, then please know that our devs are already working to have this solved ASAP. |
August 17, 2023 at 8:14 am #14243533 | |
andrejH-4 |
Hi, meanwhile the site crashed again, so we needed to disable wpml string translation again. After we have disabled languages directory into "languages-old" and enabled wpml string translation it worked fine. However seems that plugin has created new "languages" directory (please see attached) and now it is again crashing website. (draining all the resources and we get timeout) Thanks! |
August 17, 2023 at 9:01 am #14244013 | |
Alejandro WPML Supporter since 02/2018
Languages: English (English ) Spanish (Español ) Italian (Italiano ) Timezone: Europe/Rome (GMT+02:00) |
The languages directory will be recreated, for sure. We had another client with the same issue and this is the solution that worked for them: - Disable all you plugins except WPML and String Translation (or downgrade WordPress to version 6.2.2) - Go to WPML > String Translation This domain is the one causing the issue and our devs are already investigating why this is happening and why only on WordPress 6.3. Try it out and let me know if it works for you. |
August 17, 2023 at 12:29 pm #14245837 | |
andrejH-4 |
Ok, thanks we have deleted the strings. For languages folders now we have two of them, should I delete the recreated folder and rename "languages-old" to "languages"? Thanks |
August 17, 2023 at 12:34 pm #14245905 | |
andrejH-4 |
Hi, unfortunately after deleting the strings problem still persists. When we activate string translation and have languages folder renamed to "languages" website instantly crashes. (can't load) |
August 17, 2023 at 1:56 pm #14246843 | |
Alejandro WPML Supporter since 02/2018
Languages: English (English ) Spanish (Español ) Italian (Italiano ) Timezone: Europe/Rome (GMT+02:00) |
You shouldn't have had to rename or delete the language folder after deleting the strings because that will recreate the problem again. However there are 2 other workarounds while we find a temporary fix for this: - Downgrade WordPress to version 6.2.2. you can use this plugin to do so: https://wordpress.org/plugins/wp-downgrade/ - Downgrade String Translation to version 3.2.6: https://wpml.org/download/wpml-string-translation/?section=changelog Our developers are already preparing a solution for this so hopefully it will be released soon. Regards. |
August 18, 2023 at 7:09 am #14250037 | |
andrejH-4 |
Thanks. Seems that downgrade solved the problem. 🙂 |