Home Forums WoodMart support forum Fatal error

Fatal error

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #363136

    horny_fungus
    Participant

    Hi, I’ve just found a fatal error in my log. Here’s what I found:
    Fatal error: Uncaught TypeError: method_exists(): Argument #1 ($object_or_class) must be of type object|string, null given in /wp-content/themes/woodmart/inc/integrations/woocommerce/template-tags.php:1182

    Stack Trace
    1.	
    method_exists()
    /wp-content/themes/woodmart/inc/integrations/woocommerce/template-tags.php:1182
    2.	
    woodmart_cart_count()
    /wp-content/themes/woodmart/header-elements/cart.php:63
    3.	
    require('/home/***/...')
    /wp-content/themes/woodmart/inc/builder/elements/abstract/Element.php:65
    4.	
    WOODMART_HB_Element->render()
    /wp-content/themes/woodmart/inc/builder/Frontend.php:143
    5.	
    WOODMART_HB_Frontend->_render_element()
    /wp-content/themes/woodmart/inc/builder/Frontend.php:132
    6.	
    WOODMART_HB_Frontend->_render_element()
    /wp-content/themes/woodmart/inc/builder/Frontend.php:132
    7.	
    WOODMART_HB_Frontend->_render_element()
    /wp-content/themes/woodmart/inc/builder/Frontend.php:132
    8.	
    WOODMART_HB_Frontend->_render_element()
    /wp-content/themes/woodmart/inc/builder/Frontend.php:112
    9.	
    WOODMART_HB_Frontend->generate_header()
    /wp-content/themes/woodmart/inc/builder/functions.php:25
    10.	
    whb_generate_header()
    /wp-content/themes/woodmart/header.php:26
    11.	
    require_once('/home/***/...')
    /wp-includes/template.php:770
    12.	
    load_template()
    /wp-includes/template.php:716
    13.	
    locate_template()
    /wp-includes/general-template.php:48
    14.	
    get_header()
    /wp-content/themes/woodmart/page.php:11
    15.	
    include('/home/***/...')
    /wp-includes/template-loader.php:106
    16.	
    require_once('/home/***/...')
    /wp-blog-header.php:19
    17.	
    require('/home/***/...')
    /index.php:17
    18.	
    {main}
    thrown in /wp-content/themes/woodmart/inc/integrations/woocommerce/template-tags.php on line 1182

    I am using Woodmart 6.2.4 and WooCommerce 6.2.2, I know there’s newer version but can you still check what caused the issue as I have no clue to what could trigger it.

    • This topic was modified 3 years, 5 months ago by horny_fungus.
    • This topic was modified 3 years, 5 months ago by horny_fungus.
    #363141

    Artem Temos
    Keymaster

    Hello,

    Please, send us your admin and FTP access so we could check this.

    Kind Regards

    #363144

    horny_fungus
    Participant

    Here it is

    #363153

    horny_fungus
    Participant

    And FTP here:

    #363515

    Artem Temos
    Keymaster

    This error has been already fixed, so please, update to the latest version 6.3.3.

    Kind Regards

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