This error appears continuously in the logs.
-
This error appears continuously in the logs.
Notice: WC_Product::get_parent is deprecated1 since version 3.0! Use WC_Product::get_parent_id instead. in /home/vinda/www/pruebas/wp-includes/functions.php on line 4648
I have the following versions:
Wordpress versión 5.3.2
Woocommerce Versión 3.9.3
If I do a search of the string “WC_Product :: get parent” in all the files, I get the following results:www\pruebas\wp-content\pluggins\woocommerce\includes\legacy\abstract-wc-legacy-product.php (Line 417)
This line is te code:/** * Get the parent of the post. * * @deprecated 3.0.0 * @return int */ public function get_parent() { wc_deprecated_function( ‘WC_Product::get_parent’, ‘3.0’, ‘WC_Product::get_parent_id’ ); return apply_filters( ‘woocommerce_product_parent’, absint( $this->get_post_data()->post_parent ), $this );
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘This error appears continuously in the logs.’ is closed to new replies.