Home › Forums › WoodMart support forum › Translation of Woodmart Layouts gets stuck after saving the translation › Reply To: Translation of Woodmart Layouts gets stuck after saving the translation
Vial
Hi Artem,
I asked WPML support because the translation of Woodmart layouts is still not finished. The status is always on “In progress”. After investigating the site, they found that there is no error message from WPML in the error log, only a specific Fatal error from Woodmart theme.
Even after disabling WPML, the error appears which prevents saving layout changes, so it’s something Woodmart related.
This is an excerpt from the debug.log.
Although all subsites now have a product assigned under “Select preview product for builder”, the error does not go away.
[12-Jul-2023 11:22:21 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_gallery_image_ids() on null in /wp-content/themes/woodmart/woocommerce/single-product/product-image.php:27
Stack trace:
#0 /wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include()
#1 /wp-content/themes/woodmart/inc/modules/layouts/elementor/single-product/class-gallery.php(199): wc_get_template(‘single-product/…’, Array)
#2 /wp-content/plugins/elementor/includes/base/controls-stack.php(2268): XTS\Modules\Layouts\Gallery->render()
#3 /wp-content/plugins/elementor/includes/base/widget-base.php(609): Elementor\Controls_Stack->render_by_mode()
#4 /wp-content/plugins/elementor/includes/base/widget-base.php(673): Elementor\Widget_Base->render_content()
#5 /wp-content/plugins/elementor/includes/db.php(202): Elementor\Widget_Base->render_plain_content()
#6 /wp-content/plugins/element in /wp-content/themes/woodmart/woocommerce/single-product/product-image.php on line 27
I need help here urgently, as WPML is extremely important for the website and we can’t really continue working like this. I need the possibility to translate the layouts and that these then also appear in the frontend.
So far, only the translation works, only save and display, fails.
Best Regards,