Notice: get_woocommerce_term_meta is deprecated since version 3.6
-
Wordpress reports an error “Notice: get_woocommerce_term_meta is deprecated since version 3.6! Use get_term_meta instead.” that I have traced to yoast wpseo-woocommerce.php on line 744 that says
$thumbnail_id = get_woocommerce_term_meta( $cat->term_id, ‘thumbnail_id’, true );
this needs to be changed to $thumbnail_id = get_term_meta( $cat->term_id, ‘thumbnail_id’, true );
I have been changing this but every time I upgrade it gets replaces as that file is always updated.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Notice: get_woocommerce_term_meta is deprecated since version 3.6’ is closed to new replies.