Fatal error: Call to undefined method WooCommerce::is_rest_api_request() in /var/www/wp-content/plugins/woocommerce-services/classes/class-wc-connect-functions.php on line 51