Home Forums WoodMart support forum atal error: Uncaught Error: product-image.php on line 27

atal error: Uncaught Error: product-image.php on line 27

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #552602

    I have two websites. I created all the layouts on my primary website and exported them to my secondary website. When I imported them, everything seemed fine. However, now when I try to import a layout to make some changes, I encounter an error.

    This happens both when creating a new layout and when importing templates. The error message says, “An error occurred.” Interestingly, importing previously made templates from my secondary website does not cause any issues.

    Fatal error: Uncaught Error: Call to a member function get_gallery_image_ids() on null
    in /home/craple.in/public_html/wp-content/themes/woodmart/woocommerce/single-product/product-image.php on line 27

    Attachments:
    You must be logged in to view attached files.
    #552623

    Artem Temos
    Keymaster

    Hello,

    We have fixed this in Theme Settings https://monosnap.com/file/HvYkqtjhjSGJAlZQM370nXBPOIk337
    Please, check how it works on your website now.

    Kind Regards

    #552693

    Thank you so much, But I want to know, what was the error, If I face this error in future, I can fix it by myself and it will be helpful for forum users.

    #552719

    Artem Temos
    Keymaster

    A wrong product was selected there (not a product at all). We don’t know what happened but to fix this you just need to select a correct product or unset that option.

    Kind Regards

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