Skip Navigation

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

Problem:
The client was unable to review translations on their other domains and received the error message "Sorry, you are unable to review drafts". They had already tried clearing the cache and checking for valid domain registration and translation pairs.

Solution:
We recommended increasing the WP memory limit to at least 128MB, as per WPML's minimum requirements. The client was instructed to add the following code to their

wp-config.php

file:

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

This code should be placed just before the line:

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

We also advised the client to check with their hosting provider if the hosting settings limit these values and to verify the changes on the WPML Support page.

Additionally, we suggested ensuring that the server meets WPML's minimum requirements and that the latest WPML versions are in use. If the problem persisted, we advised testing for a compatibility issue by deactivating all non-WPML plugins, switching to a default WordPress theme, and then trying to recreate the issue. If the issue was resolved, the client should reactivate plugins one by one to identify the cause.

If the solution provided here is not relevant due to being outdated or not applicable to your case, we highly recommend checking related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the issue persists, please open a new support ticket with us.

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 10 months ago.

Assisted by: Mihai Apetrei.

Author Posts
April 16, 2024 at 2:05 pm #15526064

anita-kragelundT

I automatically translated everything for two other domains, and now I am unable to review the translations. "Sorry, you are unable to review drafts".

Both my other domains register as valid, and I am registered with all possible translation pairs. I tried clearing cache and everything else, I have found as possible solutions, but nothing has worked so far.

Thanks in advance.

April 16, 2024 at 10:07 pm #15528346

Mihai Apetrei
Supporter

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. Please make sure that your server follows the WPML minimum requirements and that you are using the very latest WPML versions:
https://wpml.org/home/minimum-requirements

3. If the issue is still happening, can you please let me know if it still happens 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.

I will be waiting for your response.

Mihai Apetrei

April 17, 2024 at 7:16 am #15529652

anita-kragelundT

It seems to work with the increased WP memory. I wasn't aware that the memory was too low. Thank you very much for assistance!