几个月前,我无法为Mac打开VS。今天,我按照https://superuser.com/a/1208658/815258的说明进行操作,这有助于我再次编码,但是当我尝试登录时,收到以下消息:
在“更多信息”按钮中,我得到了:
function get_wc_api_client() {
$curl = curl_init();
$site = 'https://samplelink.com/wp-json/wc/v2/products?consumer_key=sample-consumer_key&consumer_secret=sample_consumer_secret';
curl_setopt($curl, CURLOPT_URL, $site );
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($curl, CURLOPT_CONNECTTIMEOUT, 60);
$content = curl_exec($curl);
return json_decode($content, true);
}
我试图重新启动计算机并进行简单关闭,然后又打开了,但问题仍然存在。
编辑: IDE日志位于https://pastebin.com/3WbAfT9G
中