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
MichaelaThe page I need help with: [log in to see the link]
The topic ‘Error when translating variable product’ is closed to new replies.