• I have just received about 400 of these errors in my multisite debu log;

    [09-Jul-2017 22:43:30 UTC] PHP Notice: get_product is deprecated since version 3.0! Use wc_get_product instead. in /home/public_html/sites/wp-includes/functions.php on line 3831

    I checked the functions.php file on line 3831 and it says the following;

    trigger_error( sprintf( __(‘%1$s is deprecated since version %2$s! Use %3$s instead.’), $function, $version, $replacement ) );

    Can anyone suggest how to fix this?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘wp-includes/functions.php – PHP warning on 3831’ is closed to new replies.