This thread is resolved. Here is a description of the problem and solution.
Problem:
If you're experiencing a critical error when trying to translate a product using WooCommerce Multilingual, you're not alone. This issue may not occur for all products, but it can happen for most.
Solution:
We have identified this as a known issue and a fix will be included in the next update of our plugins. In the meantime, we recommend applying a temporary workaround. Please ensure you have a backup of your site before proceeding. You will need to edit the file
/woocommerce-multilingual/inc/translation-editor/class-wcml-editor-ui-product-job.php
. On line 602, change the code from:
$custom_fields = $this->get_custom_field_values( $this->product_id, $custom_field );
to:
$custom_fields = $this->get_custom_field_values( $element_id, $custom_field );
After making this change, please check if the issue is resolved on your production site.
If this solution doesn't look relevant to your issue, please don't hesitate to open a new support ticket with us here.
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.