Home Forums WoodMart support forum Wishlist (PHP error)

Wishlist (PHP error)

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #165393

    lofer
    Participant

    Hi,

    I recently updated the theme and got this error in debug.log when adding to wishlist
    Thanks.

    [29-Dec-2019 11:51:24 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_attributes() on null in /home/myaccount/public_html/woocommerce/wp-content/themes/woodmart/inc/integrations/woocommerce/template-tags.php:1132
    Stack trace:
    #0 /home/myaccount/public_html/woocommerce/wp-content/themes/woodmart/woocommerce/content-product.php(42): woodmart_get_product_attributes_label()
    #1 /home/myaccount/public_html/woocommerce/wp-includes/template.php(724): require(‘/home/myaccount/p…’)
    #2 /home/myaccount/public_html/woocommerce/wp-content/plugins/woocommerce/includes/wc-core-functions.php(195): load_template(‘/home/myaccount/p…’, false)
    #3 /home/myaccount/public_html/woocommerce/wp-content/themes/woodmart/inc/shortcodes/products.php(213): wc_get_template_part(‘content’, ‘product’)
    #4 /home/myaccount/public_html/woocommerce/wp-content/themes/woodmart/inc/integrations/woocommerce/modules/wishlist/class-ui.php(208): woodmart_shortcode_products(Array)
    #5 /home/myaccount/public_html/woocommerce/wp-content/themes/woodmart/inc/integrations/woocommerce/modules/wishlist/class-wc-wishlist.php(145): XTS\WC_Wishl in /home/myaccount/public_html/woocommerce/wp-content/themes/woodmart/inc/integrations/woocommerce/template-tags.php on line 1132

    #165408

    Hello,

    Please deactivate all the plugins not related to the theme and switch the parent theme, and provide the site admin access to the private area so that we could check.
    Best Regards

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