Home Forums WoodMart support forum Getting Error in product page on editing single product template.

Getting Error in product page on editing single product template.

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #417598

    utkarsh
    Participant

    Fatal error: Uncaught Error: Call to a member function get_gallery_image_ids() on null in /home4/ywftoumy/public_html/new-design-compuleasenetworks/wp-content/themes/woodmart-child/woocommerce/single-product/product-image.php:27 Stack trace: #0 /home4/ywftoumy/public_html/new-design-compuleasenetworks/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include() #1 /home4/ywftoumy/public_html/new-design-compuleasenetworks/wp-content/themes/woodmart/inc/modules/layouts/elementor/single-product/class-gallery.php(149): wc_get_template(‘single-product/…’, Array) #2 /home4/ywftoumy/public_html/new-design-compuleasenetworks/wp-content/plugins/elementor/includes/base/controls-stack.php(2266): XTS\Modules\Layouts\Gallery->render() #3 /home4/ywftoumy/public_html/new-design-compuleasenetworks/wp-content/plugins/elementor/includes/base/widget-base.php(609): Elementor\Controls_Stack->render_by_mode() #4 /home4/ywftoumy/public_html/new-design-compuleasenetworks/wp-content/plugins/elementor/includes/base/widget-base.p in /home4/ywftoumy/public_html/new-design-compuleasenetworks/wp-content/themes/woodmart-child/woocommerce/single-product/product-image.php on line 27

    #417608

    Luke Nielsen
    Keymaster

    Hello,

    Sorry, but your password is incorrect, could you please update it?

    https://prnt.sc/pUn1n7Nhxr4I

    I await your response.

    Kind Regards

    #417609

    utkarsh
    Participant

    I updated the password, please check.

    #417611

    utkarsh
    Participant

    Let me know, if you can do login

    #417651

    Luke Nielsen
    Keymaster

    Hello,

    On my side the single product layout is editable (check the below video).

    https://monosnap.com/file/84ynXgknMe0HqzT5zhcPAsNF9bxt4d

    May I request you describe how can I replicate this issue on my side?

    Kind Regards

    #417660

    utkarsh
    Participant

    please read message carefully, then respond

    https://new-design.compuleasenetworks.com/wp-admin/admin.php?page=elementor-app&ver=3.8.0#/site-editor/templates/product/8952

    find the single product template from this link named as “Elementor Single Product”

    or just remove mentioned error from this url

    https://new-design.compuleasenetworks.com/wp-admin/post.php?post=8952&action=elementor

    hit the url after loggin in as admin

    #417663

    Luke Nielsen
    Keymaster

    Thank you for the clarification.

    The thing is that you are using the “Templates” functionality that is related to the Elementor. In this case, you should check the same issue with the default WordPress theme (e.g Storefront), just to understand if is it our theme issue or not.

    Looking forward to collaborating with you.

    Kind Regards

    #417672

    utkarsh
    Participant

    I checked with the theme change

    in this image https://drive.google.com/file/d/10RLlD7O77JuQJR6am1f0pGT8284wnsbg/view?usp=sharing
    template is not editing when the woodmart is active.

    in this image https://drive.google.com/file/d/1cSgw8m0-yQdzW-pvqYLB67dZuVJKkuLR/view?usp=sharing
    template is editing when sintara theme is editing. you can match the url

    So it proves that woodmart’s code is giving error. Please fix it, I already shared the screenshot.

    #417693

    Luke Nielsen
    Keymaster

    Hello,

    After I looked into the situation, I found that you have exported the Layout template that is from our theme to Elementor’s template, it is wrong.

    For the Elementor templates, you should use its elements and not ours.

    Kind Regards

    #417721

    utkarsh
    Participant

    But how to get acf custom fields in woodmart layout design?

    #417798

    Luke Nielsen
    Keymaster

    Hello,

    Please clarify which acf custom fields you mean.

    In general, all elements that you have in the Layouts builder you can use, if some third-party elements are not there, we cannot influent them, unfortunately.

    If you still have further questions, please don’t hesitate to reach out. We’d be happy to talk through them with you.

    Kind Regards

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