Home / Forums / WoodMart support forum / Problem with file product-image.php
Home › Forums › WoodMart support forum › Problem with file product-image.php
Problem with file product-image.php
- This topic has 8 replies, 2 voices, and was last updated 1 year, 11 months ago by
Artem Temos.
-
AuthorPosts
-
November 21, 2023 at 5:37 pm #514237
Cioppi88ParticipantAfer update I receive this error:
Fatal error: Uncaught Error: Call to a member function get_gallery_image_ids() on null in /home/885114.cloudwaysapps.com/mwagefnprm/public_html/wp-content/themes/woodmart/woocommerce/single-product/product-image.php:27 Stack trace: #0 /home/885114.cloudwaysapps.com/mwagefnprm/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include() #1 /home/885114.cloudwaysapps.com/mwagefnprm/public_html/wp-content/themes/woodmart/inc/modules/layouts/elementor/single-product/class-gallery.php(331): wc_get_template() #2 /home/885114.cloudwaysapps.com/mwagefnprm/public_html/wp-content/plugins/elementor/includes/base/controls-stack.php(2265): XTS\Modules\Layouts\Gallery->render() #3 /home/885114.cloudwaysapps.com/mwagefnprm/public_html/wp-content/plugins/elementor/includes/base/widget-base.php(609): Elementor\Controls_Stack->render_by_mode() #4 /home/885114.cloudwaysapps.com/mwagefnprm/public_html/wp-content/plugins/elementor/includes/base/widget-base.php(733): Elementor\Widget_Base->render_content() #5 /home in /home/885114.cloudwaysapps.com/mwagefnprm/public_html/wp-content/themes/woodmart/woocommerce/single-product/product-image.php on line 27
November 21, 2023 at 5:59 pm #514248
Artem TemosKeymasterHello,
You need to select “Copy” in the WPML configuration as shown on the screenshot https://monosnap.com/file/yAwHUXA8zEZ4O44yxBXw0Q6HMUX2cB
Kind Regards
November 21, 2023 at 6:03 pm #514252
Cioppi88ParticipantSame error even if I set this option on wpml
November 22, 2023 at 10:23 am #514418
Artem TemosKeymasterHi,
Please, describe to us your problems in a bit more detail. Attach some screenshots and provide us with a list of steps on how to reproduce them on your website.
Thank you in advance.
November 22, 2023 at 11:07 am #514447
Cioppi88ParticipantI created a custom product layout using woodmart layout, then I translate it in all available language.
It works fine untill the last update.
Now I need to edit the template in English and german but if I try to use elementor on each template I receive the error above.I send in private the url to edit product template in english and german translation
November 22, 2023 at 1:29 pm #514513
Cioppi88ParticipantYou’re working on live website.
Please or use Troubleshooting mode or I need to send you a staging enviroment.November 22, 2023 at 3:20 pm #514562
Artem TemosKeymasterAfter changing the WPML configuration https://monosnap.com/file/yAwHUXA8zEZ4O44yxBXw0Q6HMUX2cB you had to resave the layout on the default language. We did this on your main website and the problem disappeared.
November 22, 2023 at 4:58 pm #514620
Cioppi88ParticipantThank you it works!
November 22, 2023 at 5:19 pm #514641
Artem TemosKeymasterYou are welcome. Feel free to contact us if you have any further questions.
-
AuthorPosts
The topic ‘Problem with file product-image.php’ is closed to new replies.
- You must be logged in to create new topics. Login / Register