Notice: deprecated, but cannot find deprecated function
-
Hi!
I am getting errors such as:- Notice: WC_Customer::set_address is deprecated since version 3.0! Use WC_Customer::set_billing_address instead. in /home/u21143p18530/domains/unicrown.be/public_html/wp-includes/functions.php on line 3853
- Notice: WC_Customer::set_city is deprecated since version 3.0! Use WC_Customer::set_billing_city instead. in /home/u21143p18530/domains/unicrown.be/public_html/wp-includes/functions.php on line 3853
- Notice: WC_Customer::set_country is deprecated since version 3.0! Use WC_Customer::set_billing_country instead. in /home/u21143p18530/domains/unicrown.be/public_html/wp-includes/functions.php on line 3853
However, i the functions.php I cannot find any mention of ‘set_address’, ‘set_city’ or ‘set_country’.
After searching through the entire wp-includes and plugin folder, I only find mentions in the “plugins\woocommerce\includes\legacy\class-wc-legacy-customer.php”. IMy questions:
- How can I solve this error if I can’t find where these functions are used?
- Is there a way to hide the notice, since the site is working fine?
I am running the newest versions:
WordPress 4.9.8
StorefrontVersion: 2.3.5
Woocommerce Version 3.5.1Thanks in advance!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Notice: deprecated, but cannot find deprecated function’ is closed to new replies.