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