Home Forums WoodMart support forum Problem with file product-image.php

Problem with file product-image.php

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #514237

    Cioppi88
    Participant

    Afer 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

    #514248

    Artem Temos
    Keymaster

    Hello,

    You need to select “Copy” in the WPML configuration as shown on the screenshot https://monosnap.com/file/yAwHUXA8zEZ4O44yxBXw0Q6HMUX2cB

    Kind Regards

    #514252

    Cioppi88
    Participant

    Same error even if I set this option on wpml

    #514418

    Artem Temos
    Keymaster

    Hi,

    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.

    #514447

    Cioppi88
    Participant

    I 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

    #514513

    Cioppi88
    Participant

    You’re working on live website.
    Please or use Troubleshooting mode or I need to send you a staging enviroment.

    #514562

    Artem Temos
    Keymaster

    After 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.

    #514620

    Cioppi88
    Participant

    Thank you it works!

    #514641

    Artem Temos
    Keymaster

    You are welcome. Feel free to contact us if you have any further questions.

Viewing 9 posts - 1 through 9 (of 9 total)

The topic ‘Problem with file product-image.php’ is closed to new replies.