Skip to content Skip to sidebar

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client was unable to use the automatic translation feature in WPML due to incorrect account type and subsequent errors after reinstallation, including authentication errors and missing translation options.
Solution:
1. We recommended increasing the WordPress memory limit to at least 128MB, ideally 256MB, by adding the following code to the wp-config.php file:

/* WP Memory Limit */<br />define('WP_MEMORY_LIMIT', '256M');<br />define('WP_MAX_MEMORY_LIMIT', '256M');

2. We advised generating a new key for the domain via WPML account sites, unregistering the old key, and re-registering WPML with the new key.
3. After addressing these issues, the automatic translation feature began to function correctly.

If this solution does not resolve your issue or seems outdated, we recommend opening a new support ticket. Additionally, please check related known issues at WPML known issues, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. For further assistance, you can also visit our support forum at WPML support forum.

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: 

This topic contains 20 replies, has 2 voices.

Last updated by Mihai Apetrei 1 year, 2 months ago.

Assisted by: Mihai Apetrei.

Author Posts
August 21, 2024 at 3:06 pm #16090906

nicolasC-55

Background of the issue:
I want to run the automatic translation on my site hidden link but it is not working.

Symptoms:
Automatic translation is not working.

Questions:
Why is the automatic translation not working on my site?
How can I fix the automatic translation issue?

August 21, 2024 at 5:28 pm #16091836

Mihai Apetrei
WPML Supporter since 03/2018

Languages: English (English )

Timezone: Europe/Bucharest (GMT+02:00)

Hi there.

Before this ticket gets assigned to one of my colleagues, I will try to help.

Can you please let us know what do you mean by: "is not working"?

Can you please let me know what are the exact steps that you tried?

I am not sure if you had the chance to take a look over our documentation at this URL, too:
https://wpml.org/documentation/automatic-translation/

Also, can you please let me know if you see any errors inside WPML > Support > Advanced Translation Editor (Error logs).

We will be waiting for your response.

Mihai

August 21, 2024 at 8:37 pm #16092172

nicolasC-55

Hello! So, I installed the wpml in my website, but accidentally connected my plugin to my clients account which has a blog plan, not a CMS plan so I could not use the automatic translation feature. So I deleted the plug in, installed it again and register my account on it. But now I dont see the option or where to make the automatic translation.

Now there are several errors that say:
2024/08/21 8:34:36 PM
ATE Server Communication
Unable to authenticate {"url":"https:\/\/ate.wpml.org\/api\/wpml\/languages\/check_pairs","requestArgs":{"method":"POST","body":[{"source_language":"es","target_languages":["en"]}]},"status":"auth_error"}

and another one that says:
memory limit 40, change to 128mb

August 21, 2024 at 9:06 pm #16092221

Mihai Apetrei
WPML Supporter since 03/2018

Languages: English (English )

Timezone: Europe/Bucharest (GMT+02:00)

Hi there.

1. The WP memory limit needs to be increased as the minimum requirement for WPML is 128Mb WP Memory Limit: https://wpml.org/home/minimum-requirements/

❌ Very important: please make a backup of your site (files & database) before following any of the upcoming steps ❌

Please add this to your wp-config.php file to increase WP memory:

/* WP Memory Limit */
define('WP_MEMORY_LIMIT', '256M');
define( 'WP_MAX_MEMORY_LIMIT', '256M' );

Paste it just before:

/* That's all, stop editing! Happy blogging. */

These settings can be limited directly by your hosting provider, so, if that’s the case, I recommend you contact and ask them to modify them directly. If you can get even higher values It would be great.


After they are modified, you can verify them from WPML >> Support page, just to make sure that they are correct.

2. Also, can you please let me know if you tried to generate a new key from here (https://wpml.org/account/sites) for this domain (remove any old key for this site) > and then go to your site's backend > Plugins > Add new > Commercial > UN-register WPML from the old key > RE-register WPML with the new key > can you please let me know if it works like this?

I will be waiting for your response.

Mihai

August 21, 2024 at 9:43 pm #16092285

nicolasC-55

ok mihai, I've changed the memory limit, and now it shows ok in the plugin. And also I unregistered the old key and re register wpml with the new key, and it still shows the same. I can't see any option available for automatic translation.

August 22, 2024 at 2:19 pm #16095329

Mihai Apetrei
WPML Supporter since 03/2018

Languages: English (English )

Timezone: Europe/Bucharest (GMT+02:00)

Hi there.

Thank you for the update.

I would like to request temporary access (wp-admin and FTP) to your site so I can better examine the issue. The needed fields are below the comment area. When you log in to leave your next reply, the information you enter is private, meaning only you and I can see and access it.

Our Debugging Procedures

I will check various settings in the backend to see if the issue can be resolved. Although I won't be making changes that affect the live site, it is still good practice to back up the site before providing us access. In the event that we do need to debug the site further, I will duplicate it and work in a separate, local development environment to avoid affecting the live site.

Privacy and Security Policy

We have strict policies regarding privacy and access to your information. Please see:
https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

**IMPORTANT**

- Please back up the site files and database before providing us access.

If you do not see the wp-admin/FTP fields, your post and website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box.

The private box looks like this: hidden link

I will be waiting for your response.

Mihai

August 23, 2024 at 12:02 pm #16098439

nicolasC-55

hello! was there anything you could do? is it possible to delete everything and re-install it from scracth? maybe that would work?

August 23, 2024 at 7:26 pm #16099510

nicolasC-55

please I need help! its been 24hs. My website is facing several issues.

August 23, 2024 at 9:46 pm #16099620

Mihai Apetrei
WPML Supporter since 03/2018

Languages: English (English )

Timezone: Europe/Bucharest (GMT+02:00)

Hi and thank you for the credentials.

I can confirm that I was able to log in successfully.

Also, sorry for the delayed response but it is a full ticket queue at the moment so it can take more than usual to get back to you.

Also, I don't work on the weekends.

At the moment, from what I can see, the WPML plugin is missing from the site (not even installed) so I'm not sure what happened until now. Can you please tell me a bit about this?

This is a live site, not a staging/testing environment so usually we are not allowed to install plugins on customer's live websites.

Can you please let me know if you would prefer me to install it again or how I can help going further?

Please let me know.

Mihai

August 26, 2024 at 2:22 am #16102235

nicolasC-55

Hello! yes I had to delete de plugin because for some reason it made an empty translation and bugged my website. After installing the plugin my main domain lead to a "page not found" link.
Could you please install it for me and make an automatic translation? Or how can we solve it? Please I need to make it work as soon as possible.
Thank you very much.

August 26, 2024 at 9:11 pm #16106809

Mihai Apetrei
WPML Supporter since 03/2018

Languages: English (English )

Timezone: Europe/Bucharest (GMT+02:00)

Sure.

I am more than happy to set this up for you.

Can you please confirm that you have a full website backup ready in case something goes wrong?

Please confirm.

August 26, 2024 at 11:16 pm #16106953

nicolasC-55

Great Mihai thank you so much! Yes I have a back up from today and from last friday actually so we are good to go.
Would you let me know when its done so I can check the website?
Thanks again.

August 28, 2024 at 12:59 pm #16115235

nicolasC-55

Hello Mihai! how are you?
Just checking about the status of the instalation of the plugin and the translation. Would you let me know when its done? or when you are working on it?
Thank you very much.

August 28, 2024 at 1:12 pm #16115311

Mihai Apetrei
WPML Supporter since 03/2018

Languages: English (English )

Timezone: Europe/Bucharest (GMT+02:00)

Hi there and thank you for the update.

I installed WPML fully and you can register it with your own WPML key from here:
hidden link

After that, can you please try to find the steps from here:
https://wpml.org/documentation/automatic-translation/

Please let me know how things go.

Mihai

August 28, 2024 at 8:27 pm #16117064

nicolasC-55

hello mihai! how are you?
Yes I can see now that the plugin is installed, but I dont see the option of automatic translation! I'll leave attached a screenshot with the translation admin of WPML. It's in spanish but you can see that the automatic translation part is missing.
Please let me know how can I solve it.
Thank you.

Captura de pantalla 2024-08-28 a la(s) 5.23.52 p. m..png