Home Forums WoodMart support forum Critical error single page layout

Critical error single page layout

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #602939

    TCO
    Participant

    Hi,

    When I try to edit the Single Page Layout I get a critical error.
    The theme is up to date.

    Error details (in Dutch)
    Foutdetails
    ===========
    Een fout van het type E_ERROR werd veroorzaakt op regelnummer 27 van het bestand /home/vhosts/myshop.nl/httpdocs/shop5/wp-content/themes/woodmart/woocommerce/single-product/product-image.php. Fout bericht: Uncaught Error: Call to a member function get_gallery_image_ids() on null in /home/vhosts/myshop.nl/httpdocs/shop5/wp-content/themes/woodmart/woocommerce/single-product/product-image.php:27
    Stack trace:
    #0 /home/vhosts/myshop.nl/httpdocs/shop5/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include()
    #1 /home/vhosts/myshop.nl/httpdocs/shop5/wp-content/themes/woodmart/inc/modules/layouts/elementor/single-product/class-gallery.php(433): wc_get_template(‘single-product/…’, Array)
    #2 /home/vhosts/myshop.nl/httpdocs/shop5/wp-content/plugins/elementor/includes/base/controls-stack.php(2325): XTS\Modules\Layouts\Gallery->render()
    #3 /home/vhosts/myshop.nl/httpdocs/shop5/wp-content/plugins/elementor/includes/base/widget-base.php(635): Elementor\Controls_Stack->render_by_mode()
    #4 /home/vhosts/myshop.nl/httpdocs/shop5/wp-content/plugins/elementor/includes/base/widget-base.php(759): Elementor\Widget_Base->render_content()
    #5 /home/vh

    Kind regards,

    #603025

    Luke Nielsen
    Keymaster

    Hello,

    Navigate to Theme Settings -> Single product -> set another product in the “Select preview product for builder” field: https://take.ms/tcX4X

    Clear the cache and recheck the issue.

    Kind Regards

    #603193

    TCO
    Participant

    Great, it’s working again. Thank you for your quick responce.

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