Skip Navigation

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

Problem:
You are trying to translate product reviews on your WooCommerce site and have followed the standard procedure, but you're unable to see all 400 reviews, and old deleted reviews are still visible.
Solution:
First, ensure you have registered the reviews for translation by following these steps:
1. Navigate to WooCommerce > WooCommerce Multilingual & Multicurrency and select the Status tab.
2. Click the Troubleshooting link at the bottom right corner.
3. In the Troubleshooting tab, check the box next to 'Register product reviews for translation' and click the Start button.
4. Proceed to WPML > String Translation to translate the reviews.
If issues persist, our second-tier support can apply a specific SQL query to adjust database tables, which has resolved the issue on a staging site:


ALTER TABLE `rqcv_icl_strings`
CHANGE `language` `language` varchar(7) COLLATE 'utf8mb4_unicode_ci' NOT NULL AFTER `id`,
CHANGE `context` `context` varchar(160) COLLATE 'utf8mb4_unicode_ci' NULL AFTER `language`,
CHANGE `name` `name` varchar(160) COLLATE 'utf8mb4_unicode_ci' NULL AFTER `context`,
CHANGE `value` `value` longtext COLLATE 'utf8mb4_unicode_ci' NOT NULL AFTER `name`,
CHANGE `wrap_tag` `wrap_tag` varchar(16) COLLATE 'utf8mb4_unicode_ci' NOT NULL AFTER `location`,
CHANGE `type` `type` varchar(40) COLLATE 'utf8mb4_unicode_ci' NOT NULL DEFAULT 'LINE' AFTER `wrap_tag`,
CHANGE `title` `title` varchar(160) COLLATE 'utf8mb4_unicode_ci' NULL AFTER `type`,
CHANGE `gettext_context` `gettext_context` text COLLATE 'utf8mb4_unicode_ci' NOT NULL AFTER `status`,
CHANGE `domain_name_context_md5` `domain_name_context_md5` varchar(32) COLLATE 'utf8mb4_unicode_ci' NULL AFTER `gettext_context`,
CHANGE `translation_priority` `translation_priority` varchar(160) COLLATE 'utf8mb4_unicode_ci' NOT NULL AFTER `word_count`,
COLLATE 'utf8mb4_unicode_ci';

Ensure you have a full backup before applying this solution to your production site.

If this solution does not apply to your case, or if it seems outdated, 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 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.

This topic contains 2 replies, has 0 voices.

Last updated by NUMERIICA 2 weeks, 4 days ago.

Assisted by: Long Nguyen.

Author Posts
October 30, 2024 at 9:00 pm #16349183

NUMERIICA

Background of the issue:
I try to translate the product Review on my site hidden link. I followed the procedure on this page: https://wpml.org/documentation/related-projects/woocommerce-multilingual/translating-and-displaying-product-reviews/ but it doesn't solve the issue.

Symptoms:
I don't see all the 400 reviews and also I see old deleted ones.

Questions:
Why can't I see all 400 product reviews?
Why are old deleted reviews still visible?

October 31, 2024 at 7:50 am #16349912

Long Nguyen
Supporter

Languages: English (English )

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

Hi there,

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

I suggest you follow the last point in the documentation to register reviews for translation:
1. Go to WooCoomerce > WooCommerce Multilingual & Multicurrency and click over to the Status tab.
2. Click the Troubleshooting link in the bottom right corner of the page.
3. The Troubleshooting tab will open. Check the box next to Register product reviews for translation and hit the Start button.
4. Then go to WPML > String Translation to translate reviews.

If it does not help, I would like to request temporary access (wp-admin and FTP) to your site so I can 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/

Looking forward to your reply.
Thanks

October 31, 2024 at 6:36 pm #16353191

NUMERIICA

I forgot to give you the wordpress admin, send me the link to let me show it to you without be public

November 1, 2024 at 2:19 am #16353626

Long Nguyen
Supporter

Languages: English (English )

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

Hi,

I can login to your site admin area with the shared user. I'm checking the issue and update you here when I have more information.

Thanks.

November 1, 2024 at 3:12 am #16353693

Long Nguyen
Supporter

Languages: English (English )

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

I tried to register reviews for translation with the steps above on your site but it doesn't work. However, after restoring your site on my localhost, I can register reviews and they are available in WPML > String Translation as well. Please check the attached screenshots.

I suggest you copy your site to a staging site and enable a minimal environment as below, try to register reviews again and see if it helps:
- Deactivate all plugins except WPML plugins and WooCommerce.
- Switch to a standard theme of WordPress.

Looking forward to your reply.
Thanks

WooCommerce Multilingual & Multicurrency ‹ Pilote et Filles — WordPress 2024-11-01 10-06-25.png
String Translation ‹ Pilote et Filles — WordPress 2024-11-01 10-06-46.png
November 1, 2024 at 1:39 pm #16355021

NUMERIICA

Ok I make a copy of the website here (/domains/piloteetfilles.com/public_html/test/test)

I deleted all the plugin one by one to just keep woocommerce and WPML + the Theme Twenty Seventeen.

And.... nothing works

May be this is a PHP configuration setting or Server configuration...?

Here a printscreen of the PHP configuration:

Picture 1 : hidden link
Picture 2 : hidden link

Let me know if we have other solution avenue

November 4, 2024 at 1:34 am #16358619

Long Nguyen
Supporter

Languages: English (English )

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

Hi,

I compared the PHP settings on your site and on my local site, most of them are the same. There are some settings that have a lower value like PHP max input variables, PHP time limit. Please try to increase the value of those settings and see if it helps.

If not, please share the new test site credentials (wp-admin), I will check the issue there.

Looking forward to your reply.
Thanks

November 4, 2024 at 6:19 pm #16362860

NUMERIICA

Nothing change anything, I think the problem is deeper thant that....

I see old deleted comment in Woocommerce and String to translate In domain wcml_reviews but not the approved one I can see in my wordpress backend.

I didn't see the deleted comment in the database wp_comment but I see the approved one...

Something doesn't work with wpml I think.

Same issue in website copy

November 5, 2024 at 1:50 am #16363908

Long Nguyen
Supporter

Languages: English (English )

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

Hi,

Based on your details, I suspect that there is an issue with the caching on your hosting. Do you try to restore the site on your computer (local host) and register the reviews?

Also, please share the new test site credentials (wp-admin), I will check the issue there.

Looking forward to your reply.
Thanks

November 8, 2024 at 2:01 am #16380380

Long Nguyen
Supporter

Languages: English (English )

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

Hi,

When I try to move some reviews to the trash, I'm blocked by the Sucuri secure module. Please check the attached screenshot. This secure module prevents modifying the database on your site and might cause the issue. Can you please disable or turn it off and register reviews again?

Looking forward to your reply.
Thanks

Sucuri WebSite Firewall - Access Denied 2024-11-08 08-42-58.png
November 10, 2024 at 11:11 pm #16386207

NUMERIICA

Hi, I can't desactivate the Firewall, I add you IP (14.191.144.172) to the authorised users.

I Also delete the cache on Sucuri but It not impact the Review database to my knoledge...

November 11, 2024 at 7:35 am #16386909

Long Nguyen
Supporter

Languages: English (English )

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

Hi,

I can delete reviews on your site properly. However, I still cannot register reviews for translation. I'm discussing this issue with our 2nd tier support and I will update you here when I have something to share.

Thanks for your patience.

November 14, 2024 at 2:40 am #16400487

Long Nguyen
Supporter

Languages: English (English )

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

Hi,

The staging site was removed from your hosting. Can you please restore it or create a new one and share the credentials with me? Your next reply is set to private to share the info.

Our 2nd tier support is investigating the issue and agrees with me: we suspect that the Sucuri security module would prevent our plugin from registering reviews on your site.
If it is possible, please disable Sucuri on the staging site or copy your site to another hosting and recheck the issue.

Looking forward to your reply.
Thanks

November 14, 2024 at 4:32 am #16400614

NUMERIICA

I deleted the test website cause it was attacked by a virus.

I move to another location without Sucuri firewall and the problem still there. Here the new connection link, use the same login I aldready sypply to you

hidden link

November 14, 2024 at 6:35 am #16400754

Long Nguyen
Supporter

Languages: English (English )

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

I'm asking the 2nd tier support to investigate the issue on the new test site. I will update you here when I have more information.

Thanks.