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

1 reply2 participantsUpdated by Rose Tyler

  • Avatar: twpblackpool
    twpblackpool
    Participant

    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

    Hello,

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

    Regards

Want to reply? Log in, or register with your ThemeForest purchase code, to reply to this topic.

Login / Register