An error of type E_ERROR was caused in line 50 of the file

This topic has 2 replies, 2 voices, and was last updated 3 years, 7 months ago ago by Rose Tyler

  • Avatar: twpblackpool
    twpblackpool
    Participant
    September 4, 2020 at 17:48

    when my client goes to bulk edit woo commerce orders, ie mark as complete we get an error, https://prnt.sc/ubnbn3
    and an email that says

    Error Details
    =============
    An error of type E_ERROR was caused in line 50 of the file /home/sites/7a/8/83be0c2ee6/public_html/wp-content/themes/xstore/woocommerce/single-product/product-image-builder.php. Error message: Uncaught Error: Call to a member function get_gallery_image_ids() on null in /home/sites/7a/8/83be0c2ee6/public_html/wp-content/themes/xstore/woocommerce/single-product/product-image-builder.php:50
    Stack trace:
    #0 /home/sites/7a/8/83be0c2ee6/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(344): include()
    #1 /home/sites/7a/8/83be0c2ee6/public_html/wp-content/themes/xstore/woocommerce/single-product/product-image.php(25): wc_get_template(‘single-product/…’)
    #2 /home/sites/7a/8/83be0c2ee6/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(344): include(‘/home/sites/7a/…’)
    #3 /home/sites/7a/8/83be0c2ee6/public_html/wp-content/plugins/woocommerce/includes/wc-template-functions.php(1476): wc_get_template(‘single-product/…’)
    #4 /home/sites/7a/8/83be0c2ee6/public_html/wp-content/plugins/openswatch/includes/class-color-swatch.php(862): woocommerce_show_product_images()
    #5 /home/sites/7a/8/83be0c2ee6/public_html/wp-content/plugins/openswatch/includes/class-variatio

    Please, contact administrator
    for this information.
    1 Answer
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    September 5, 2020 at 08:57

    Hello,

    Try to disable all third-party plugins that do not come bundled with our theme https://xstore.helpscoutdocs.com/article/36-included-plugins , and check how it works then.

    Regards

  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.