Skip Navigation

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

Problem:
The client was unable to load the translation queue for products, and attempts to approve translations were failing.

Solution:
We resolved the issue by performing several troubleshooting steps in WPML > Support > Troubleshooting:

  • Clear the cache in WPML
  • Remove ghost entries from the translation tables
  • Fix element_type collation
  • Fix WPML tables collation
  • Set language information
  • Fix terms count
  • Fix post type assignment for translations

We asked the client to confirm if the solution worked for them.

Please note that this solution might be irrelevant if it's outdated or not applicable to your case. If you're still experiencing issues, we recommend checking the 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 problem 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 6 replies, has 2 voices.

Last updated by Long Nguyen 11 months, 2 weeks ago.

Assisted by: Long Nguyen.

Author Posts
March 18, 2024 at 12:07 am #15418970

danielB-267

I am trying to:
I am trying to translate products but the queue is not loading for some reason. There are 6 pending for review, then when I tried to approved, it failed and now it is not loading.

Link to a page where the issue can be seen:

I expected to see:

Instead, I got:

notloading.png
March 18, 2024 at 7:00 am #15419281

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi Daniel,

Thank you for contacting WPML support, I’m happy to help you with this issue.

There could be an error while loading the Translations page on your site. Please enable WP debug (https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/), visit the Translations page again and share the error log with me. You can upload the file debug.loh into a storage platform of your choosing (Google Drive, Dropbox, etc) and send me the link (make sure it's set as "public" otherwise I won't be able to access its content) so we can download it and take a look at it, and determine where to go from there.

While checking the debug info, I see that the WordPress Memory Limit is below the requirements. The minimum requirements are 128M, but we do recommend 256M and the debug information of your site shows it set to 40M. Please check this link for more details
https://wpml.org/home/minimum-requirements/.
You can increase it by adding the following code in your wp-config.php file, right before the /* That’s all, stop editing! Happy publishing. */ line:

define( 'WP_MAX_MEMORY_LIMIT', '256M' );
define( 'WP_MEMORY_LIMIT', '128M' );

After adding the code you can confirm that the memory was changed correctly from WPML > Support > WordPress > Memory limit.

Looking forward to your reply.
Thanks

March 18, 2024 at 12:37 pm #15420879

danielB-267

Hi It is already changed now but still the same.

March 19, 2024 at 1:18 am #15423792

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. It would be better to have a testing site where the issue is replicated. Your next reply is set to private to share the info.

❌ IMPORTANT: Please backup your database and website before proceeding ❌
You can use this plugin to create the backup: https://wordpress.org/plugins/duplicator/
✙ I would need your permission to de-activate and re-activate Plugins and the Theme to change configurations on the site if needed. This is also a reason the backup is critical.

Looking forward to your reply.
Thanks

March 20, 2024 at 3:31 am #15429350

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

I fix the issue on your site by running some troubleshooting buttons in WPML > Support > Troubleshooting:

- Clear the cache in WPML
- Remove ghost entries from the translation tables
- Fix element_type collation
- Fix WPML tables collation
- Set language information
- Fix terms count
- Fix post type assignment for translations

Can you please confirm it works on your end?

Translations ‹ Aussie Opals — WordPress 2024-03-20 10-26-16.png
March 20, 2024 at 9:42 am #15430159
danielB-267

Hi,

I saw it fixed the issue but there is an issue with the site.

On this URL or other urls as well hidden link

When you jump from english to japanese, and return to english, it will display an internal server error. Can you check this and see what causing the issue?

error.png
March 21, 2024 at 2:11 am #15434104

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

We limit one issue per ticket only, I will split your new issue into a new ticket for better handling. If you see the main issue of this ticket with Translations queue is resolved, please mark it as Resolved.

Thanks.