Skip to content Skip to sidebar

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

Problem:

After resetting WPML on a development site, you received a message indicating that the 'product_type' field was set incorrectly due to the translation of the 'product_type' taxonomy.

Solution:

To resolve this issue, follow these steps:

1. Deactivate the WooCommerce Multilingual plugin.
2. Delete the plugin.
3. Download and manually install version 5.4.5 of WooCommerce Multilingual.
4. Navigate to WooCommerce → WooCommerce Multilingual → Settings tab and click the Troubleshooting link at the bottom-right corner.
5. Click the Start button for 'Fix product_type taxonomy terms'.
6. Refresh the page.
7. Upgrade to version 5.5.1 of the WooCommerce Multilingual plugin.

The “Fix product_type taxonomy terms” button will be added back in the next version of WooCommerce Multilingual (5.5.2)

Please check if the issue is resolved after following these steps. If the problem persists or if this solution becomes outdated, 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. If necessary, 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 9 replies, has 0 voices.

Last updated by Miguel Vieira 6 days, 13 hours ago.

Assisted by: Bigul.

Author Posts
July 30, 2025 at 9:37 am #17281305

Miguel Vieira

Background of the issue:
I did a reset to WPML according to the documentation for a site under development.

Symptoms:
I received a message stating: 'We detected that the product_type field was set incorrectly for some product translations. This happened because the product_type taxonomy was translated.'

Questions:
How can I fix the product_type field issue after resetting WPML?
Why didn't the troubleshooting steps in the documentation resolve the issue?

July 30, 2025 at 7:46 pm #17283177

Bigul
WPML Supporter since 01/2013

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hello,

Welcome to the WPML support forum. I will do my best to assist you in resolving the issue.

Please go to WPML >> Settings >> Taxonomies Translation and ensure that the "product_type" taxonomy is set to "Not translatable".

If so, this looks like an exception or false alarm. Please try the following troubleshooting steps after a full site backup {mandatory} and make sure the issue exists or not.

1) Go to WPML>>Support page, click on the Troubleshooting link (blue link in the middle of the page)

2) On the Troubleshooting page, please click on the following options of the *Clean up* section. Wait for confirmation of processing after each one.

- Clear the cache in WPML
- Remove ghost entries from the translation tables
- Fix element_type collation
- Set language information
- Fix WPML tables collation
- Assign translation status to duplicated content
- Fix terms count
- Fix post type assignment
- Cleanup and optimize string tables

3) Open a Product for editing in the original language
4) Update a post after a minor change in the content to refresh the translation settings
5) Update the translation
6) Clear all types of caches (including the server-side caches)

--
Thanks!

Bigul

August 1, 2025 at 8:15 am #17287227

Miguel Vieira

Hello! I follow the steps and the message keep showing...

August 1, 2025 at 11:47 am #17288215

Bigul
WPML Supporter since 01/2013

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hello,

Thank you for the updates. Please try the following steps after a site backup and check if there is any difference in the result.

1) Visit WPML >> Settings >> Custom XML Configuration
2) Add the following code and save the changes

<wpml-config>
  <taxonomies>
    <taxonomy translate="0">product_type</taxonomy>
  </taxonomies>
</wpml-config>

3) Visit WPML >> Settings >> Custom Taxonomy Translation
4) Save the changes
5) Visit WPML >> Support >> Troubleshooting
6) Click on *Remove all messages and notifications* button

--
Thanks!

Bigul

August 1, 2025 at 1:06 pm #17288420

Miguel Vieira

Hello again!

The message persists, even after the suggested fix.

Thanks again!

August 1, 2025 at 7:20 pm #17289357

Bigul
WPML Supporter since 01/2013

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hello,

Thank you for the updates. Please fill in the private details fields after a full site backup (mandatory). I would like to access the admin area of your site for further checking. Refer to the following links for more details about our private information sharing policies.

https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

hidden link

Also, please allow me to install the Adminer plugin to access the site database for a quick check.

--
Thanks!

Bigul

August 4, 2025 at 5:10 am #17291712

Bigul
WPML Supporter since 01/2013

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hello,

Thank you for the updates and the login information. The settings appear to be correct, and this seems to be an exception.

Therefore, just to make sure, do you have any server-side caching enabled? If so, please clear it and check if the issue persists.

If the problem remains, please allow me to create a copy of your site using the Duplicator plugin. This will help us debug the issue safely on a local server without affecting your live site.

--
Thanks!

Bigul

August 5, 2025 at 1:08 pm #17296652

Miguel Vieira

Hello,

I've just confirmed that there's no server-side cache in place, but I went ahead and cleared the WordPress cache just in case — unfortunately, it didn't resolve the issue.

I've also installed Duplicator for you, so you're all set to proceed.

Thanks again!

August 6, 2025 at 7:26 am #17298628

Bigul
WPML Supporter since 01/2013

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hello,

Thank you for the permission. I have created a copy of the site, and we will now proceed with debugging it locally. We will update you with our findings as soon as possible. Please wait.

--
Thanks!

Bigul

August 7, 2025 at 9:57 am #17302062

Bigul
WPML Supporter since 01/2013

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hello,

I am getting the expected results both in my local copy and on your site after following the steps below. The "Fix product_type taxonomy terms" button will be reintroduced in the next version of WooCommerce Multilingual (5.5.2), which is currently in the final QA stage.

Steps followed:

- Deactivated the WooCommerce Multilingual plugin
- Deleted the plugin
- Downloaded and manually installed version 5.4.5
- Navigated to WooCommerce → WooCommerce Multilingual → Settings tab and clicked the Troubleshooting link (bottom-right corner)
- Clicked the Start button for Fix product_type taxonomy terms
- Refreshed the page
- Upgraded to version 5.5.1 of the WooCommerce Multilingual plugin

Please check and let us know your feedback.

--
Thanks!

Bigul

August 7, 2025 at 10:39 am #17302230

Miguel Vieira

The problem has finally been resolved. Thank you!