Skip Navigation

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

Problem:
You are experiencing issues with the flag icon not appearing in the main menu after switching to 'auto translate everything' mode in WPML, despite not clicking the 'Sync Menu' button or manually creating translations. Additionally, you encountered a PHP Fatal error indicating an exhausted memory limit.
Solution:
First, increase the WordPress memory limit by adding the following lines to your wp-config.php file:

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

Add these lines above the '/* That's all, stop editing! Happy blogging. */' line. This adjustment should help resolve the memory issue and allow for smoother operation of WPML functionalities.

Next, ensure your site key is correctly registered to use automatic updates. If updates are not working, generate a new site key by deleting the current site URL from your WPML account at https://wpml.org/account/sites and re-adding it. This action will provide a new site key. Then, unregister and re-register WPML on your site with the new key by navigating to Plugins -> Add New -> Commercial tab and following the prompts to update or enter the new site key.

If these steps do not resolve your issue or if the solution seems outdated or irrelevant to your specific case, we recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. Should you need further assistance, please open a new support ticket 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 55 replies, has 2 voices.

Last updated by Lauren 10 months, 1 week ago.

Assisted by: Lauren.

Author Posts
August 28, 2024 at 3:57 pm #16116213

Lauren
WPML Supporter since 10/2015

Languages: English (English )

Timezone: America/New_York (GMT-04:00)

You need to register both your live site and your development site URLs and each site should have its own key. Register both domains here: https://wpml.org/account/sites/

Then, update them on their respective sites as needed at Plugins -> Add New -> Commercial. Once that is done you should be able to update the plugin as you normally would any plugin.

Please let me know if that works.

August 28, 2024 at 7:44 pm #16116919

jamesC-69

2 attachments show that both sites are registered and the key for each site is shown. I can't find the page that I'm supposed to paste the key into though, or do I need to still do that ??

so I have to download and activate a new copy of WPML CMS even though it's already installed and activated, and that's how it will be updated in this case. Just want to make sure I understand your instructions...
thanks

both site keys shown.jpg
download and activate WPML CMS.jpg
both sites registered.jpg
August 28, 2024 at 8:18 pm #16117040

jamesC-69

ALSO noticed the communication with WPML.org alert is still displaying but I don't know what to do about it. Will it be resolved after I download and activate the newer version of WPML CMS ??
thanks...

August 28, 2024 at 10:06 pm #16117222

Lauren
WPML Supporter since 10/2015

Languages: English (English )

Timezone: America/New_York (GMT-04:00)

Go to Plugins -> Add New -> Commercial. Click the link to Unregister WPML. Once that is done you will see the field where you enter the correct site key. Once that is done, you should be able to update the plugin as you normally would, either from the commercial tab or from the Plugins dashboard. You won't need to manually download the plugin and install if you have the site keys registered correctly. This is also why the communication error is showing up.

August 28, 2024 at 11:09 pm #16117261

jamesC-69

ok did it... seems to be working.. updated CMS plugin, no crashes...

I know when the staging site is ready to migrate, I'll need to change its status from 'development' to 'production'
but BEFORE I migrate the staging site to replace the live site, will I have to do same process of unregister and register the live site with its key ???

Or will the migration replace all the the live site's WPML files with copies of the staging data so I'd then go through the unregister/register process AFTER the migration ??

thanks again

August 29, 2024 at 2:53 pm #16120762

Lauren
WPML Supporter since 10/2015

Languages: English (English )

Timezone: America/New_York (GMT-04:00)

It all depends on how the site is migrated. If the site key is copied from staging to live site in migration, then yes, you will need to update the live site key. You don't need to change the URL status in your WPML account. Just make sure when you registered the URLs that the live domain is set as production and the staging site is set as development.

August 30, 2024 at 4:53 am #16122791

jamesC-69

ok got it... the client wants to review all the translated published content and make changes here and there before doing the migration. That could take a week or so.

After they've reviewed and made any needed changes using the WPML editor, and after they approve it, if they later need to make small updates to the original language page, is it the preferred WPML method to then edit the translated page/post directly using the WPML editor ?

Versus: I read a WPML blog post where someone changed 2 words in their original language after the page had already been translated, and then ran the page through the ATE again, only to have entire sections of content disappear.
https://wpml.org/forums/topic/lost-translations-after-updating-gramar-mistakes-in-original-language/

I've read a couple other similar blogs about issues updating an already translated page/post so if there's specific help file available, let me know. I've looked through the FAQs and have not yet found a simple process.

Thank again for all your help.

August 30, 2024 at 5:40 pm #16125936

Lauren
WPML Supporter since 10/2015

Languages: English (English )

Timezone: America/New_York (GMT-04:00)

You should be able to edit the translation any time you need using the WPML translation editor. Updating the original post should not delete translated content. If that is happening, then you can open up a new chat ticket so we can look further into the issue for you.

August 30, 2024 at 5:50 pm #16125991

jamesC-69

thanks... I noticed the little pencil icon that opens the WPML editor to review or update a translation. Is this to 'teach' the translation brain to remember when an auto translation is manually changed, so the auto translation will do it correctly for future translations ? Just curious...

August 30, 2024 at 6:38 pm #16126163

jamesC-69

thanks again for your help... if I encounter new issues later I'll start a new ticket.

September 3, 2024 at 4:56 pm #16136951

Lauren
WPML Supporter since 10/2015

Languages: English (English )

Timezone: America/New_York (GMT-04:00)

THanks, sounds like a perfect plan.