Skip to content Skip to sidebar

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

Problem:
If you're trying to translate a page using WPML's translation management and find that the translation option is empty and you cannot translate the selected page or post, this might be due to insufficient WP memory limit or a compatibility issue with other plugins or themes.
Solution:
First, we recommend increasing the WP memory limit. You can do this by adding the following lines to your wp-config.php file:

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

Place it just before:

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

Please check with your hosting provider if these settings can be modified on their end. After updating, verify the settings on the WPML >> Support page.
Next, ensure all WPML plugins are updated by going to your site's backend > Plugins > Add new > Commercial > click "check for updates".
If the problem persists, it might be due to a compatibility issue. Please follow these steps:
1. Create a full website backup.
2. Disable all plugins except for WPML and its add-ons.
3. Check if the issue still occurs.
4. If not, reactivate your plugins one by one to identify the problematic plugin.
5. If the issue persists with only WPML plugins active, switch to a default WordPress theme like TwentySeventeen and check again.
It's best to perform these tests in a staging environment if possible.

If these steps do not resolve your issue or if the solution seems outdated or irrelevant to your case, we highly 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. If needed, please open a new support ticket at WPML support forum for further assistance.

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 1 reply, has 2 voices.

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

Assisted by: Mihai Apetrei.

Author Posts
October 18, 2024 at 12:04 am #16302314

tailinS

Background of the issue:
I'm trying to translate my page using WPML's translate management. My site is currently under development.

Symptoms:
When I select the page and post I want to translate, the translate option is empty, and I cannot translate anything I selected.

Questions:

October 18, 2024 at 10:52 am #16303956

Mihai Apetrei
WPML Supporter since 03/2018

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03: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. After that, please make sure that you go into your site's backend > Plugins > Add new > Commercial > click "check for updates" > and update all the WPML plugins to the latest version.

3. If the issue will still take place, it could be caused by a compatibility issue between WPML and (at least) one of the active plugins or the currently active theme.

So, in that case, can you please create a full website backup and then let me know if the issue is still happening even when only the WPML plugins are active, and you are using a default WordPress theme?

Please try the following steps so that we can test for a compatibility-related issue:

- create a full website backup

- disable all plugins except WPML and its add-ons

- check if the issue is happening again

- if it's not, reactivate your plugins one by one, checking every time if the issue shows up again so that you can understand which plugin is causing that issue

If the issue happens even with the non-WPML plugins disabled:
- leave all the non-WPML plugins deactivated

- switch to a default theme like TwentySeventeen

- try to recreate the issue now

If you have the chance, it would be best to do this in a staging (testing) environment.

Please let me know how that goes and if following any of these steps solved your issue or brought any change.

We will be waiting for your response.

Mihai Apetrei