WooCommerce API giving JSON Syntax Error on every request
I'm getting a JSON Syntax Error whenever I want to send any request to my Wordpress site. $woocommerce = new Client( $site, $key, $secret, [ 'wp_api' => true, 'version' => 'wc/v3', 'query_string_auth' => true, ] ); print_r($woocommerce->get('products')); And when I…