Title: Error when translating variable product
Last modified: March 4, 2019

---

# Error when translating variable product

 *  [Ela Mikkelsen](https://wordpress.org/support/users/elamikkelsen/)
 * (@elamikkelsen)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/error-when-translating-variable-product/)
 * Hello 🙂
    Please help. I have a WooCommerce shop with WPML in English Danish 
   and German. Some of my products come in different sizes. When I first translated
   the product pages, it worked fine. But one day I had to come back to make some
   changes, I realized the the text in my variable products where white, and page
   builder buttons where missing. On the frontend the products looked fine. Now 
   I have deleted some of the products and try to write them again, but I can’t.
   when I enter the translation of the products I get an error:
 * Warning: Invalid argument supplied for foreach() in /var/www/huldrapets.com/public_html/
   wp-content/plugins/iex-integration/iex.php on line 1498
 * Warning: Invalid argument supplied for foreach() in /var/www/huldrapets.com/public_html/
   wp-content/plugins/iex-integration/iex.php on line 1498
 * Warning: Invalid argument supplied for foreach() in /var/www/huldrapets.com/public_html/
   wp-content/plugins/iex-integration/iex.php on line 1498
 * Fatal error: Uncaught Error: Call to a member function get_id() on null in /var/
   www/huldrapets.com/public_html/wp-content/plugins/yourpay/platforms/viabill.php:
   103 Stack trace: #0 /var/www/huldrapets.com/public_html/wp-includes/class-wp-
   hook.php(286): yourpay_viabill_js(‘<span class=”wo…’, Object(WC_Product_Variation))#
   1 /var/www/huldrapets.com/public_html/wp-includes/plugin.php(208): WP_Hook->apply_filters(‘
   <span class=”wo…’, Array) #2 /var/www/huldrapets.com/public_html/wp-content/plugins/
   woocommerce/includes/abstracts/abstract-wc-product.php(1740): apply_filters(‘
   woocommerce_get…’, ‘<span class=”wo…’, Object(WC_Product_Variation)) #3 /var/
   www/huldrapets.com/public_html/wp-content/plugins/woocommerce/includes/class-
   wc-product-variable.php(345): WC_Product->get_price_html() #4 /var/www/huldrapets.
   com/public_html/wp-content/plugins/woocommerce/includes/class-wc-product-variable.
   php(303): WC_Product_Variable->get_available_variation(Object(WC_Product_Variation))#
   5 /var/www/huldrapets.com/public_html/wp-content/pl in /var/www/huldrapets.com/
   public_html/wp-content/plugins/yourpay/platforms/viabill.php on line 103
 * I have tried to deactivate all plugins. When I deactivate the currency switcher
   the white text and buttons turn back, but I still get the error message when 
   trying to translate the product.
    Please help. Thank you Best regard Michaela
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-when-translating-variable-product%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [Joy](https://wordpress.org/support/users/joyously/)
 * (@joyously)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/error-when-translating-variable-product/#post-11273430)
 * You need to ask in the support forum for the plugin with the problem.
    You have
   Warnings from iex-integration and an Error from yourpay.

Viewing 1 replies (of 1 total)

The topic ‘Error when translating variable product’ is closed to new replies.

## Tags

 * [variable products](https://wordpress.org/support/topic-tag/variable-products/)
 * [white text](https://wordpress.org/support/topic-tag/white-text/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Joy](https://wordpress.org/support/users/joyously/)
 * Last activity: [7 years, 2 months ago](https://wordpress.org/support/topic/error-when-translating-variable-product/#post-11273430)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
