Home Forums WoodMart support forum Critical error single page layout

Critical error single page layout

Viewing 4 posts - 1 through 4 (of 4 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.

    #603316

    Luke Nielsen
    Keymaster

    Hello!

    Thank you for letting us know it’s working again. We’re glad we could assist you quickly and resolve the issue. If you have any more questions or encounter further issues, please don’t hesitate to reach out.

    Kind regards

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

The topic ‘Critical error single page layout’ is closed to new replies.