unable to trace location of bad call to “get_product”
-
Every time I perform certain actions (like updating a product in the woo admin) I get a PHP notice:
NOTICE: get_product is deprecated since version 3.0! Use wc_get_product instead.
Type: PHP Notice Line: 3840
File: /var/www/test_html/wp-includes/functions.phpBut I have combed through all of my plugins and themes and the only places I can find this being called is AFTER checking for a woocommerce version that is much older than the one I have installed (3.4):
<?php if ( $woocommerce->version >= '3.0' ) : ?>
Can anyone give me some indication why this notice keeps appearing when I can’t find any place that this function is being called? Is there some better way to find the ACTUAL file that is calling this??
- The topic ‘unable to trace location of bad call to “get_product”’ is closed to new replies.