Skip Navigation

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

Problem:
The client deleted a field from a field group associated with a Custom Post Type (CPT) using a custom SQL query to remove all instances of

field_name

and

_field_name

due to a large number of posts.

Solution:
We recommend updating the original post and then its translation. This action will remove the content from the translation editor and from the

icl_translation_status

table. To remove it from the

icl_translate

table, the client will need to write a custom SQL query. Additionally, we found an errata that might be related to the size of the

icl_translate

table. We suggest looking at the workaround provided in the errata to help reduce the size of the table:

Please note that the solution provided might be outdated or not applicable to your case. If the issue persists, we highly 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 you still need assistance, 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 replies, has 2 voices.

Last updated by Lauren 1 year, 6 months ago.

Assisted by: Lauren.

Author Posts
January 11, 2024 at 3:10 pm #15175406

nathanB-9

I've deleted a field from my field group targeted a CPT. The field has been deleted with an SQL statement to target all field_name and _field_name as I have too many posts to update to do manually.

Solution: updating the original post and then the translation. This will remove the content from the translation editor and from the icl_translation_status table. To remove it from icl_translate, you will need to write a custom sql query.

January 11, 2024 at 8:59 pm #15176589

Lauren
WPML Supporter since 10/2015

Languages: English (English )

Timezone: America/New_York (GMT-04:00)

After we disconnected from chat, I found this errata that may be related to the size of your icl_translate table. Please take a look at the workaround here, and let's see if that helps to reduce the size of the table.

https://wpml.org/errata/reducing-size-of-icl_translate_job-icl_translate-and-other-wpml-tables/