Nevermind. There was a spelling error in line 216, the function dhwc_add_product_brand_meta had a U in product -> “prouduct”.
removing that fixed my problem. Thank you