Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

php sdk会报错 #1

Open
polly3d opened this issue Mar 3, 2017 · 1 comment
Open

php sdk会报错 #1

polly3d opened this issue Mar 3, 2017 · 1 comment

Comments

@polly3d
Copy link

polly3d commented Mar 3, 2017

报错内容如下:

A PHP Error was encountered

Severity: Notice

Message: Undefined property: RequestCore::$HTTP/1.1 200 Server: nginx/1.8.0 Content-Type: application/json Content-Length: 46 Connection: close Date: Fri, 03 Mar 2017 09:19:14 GMT x-log-requestid: 58B93512F269FB2E33638216 {"count":1,"logstores":["pay-log"],"total":1}

Filename: Log/requestcore.class.php

Line Number: 796

问题出在Log/requestcore.class.php第796行,具体修改如下:

//原代码:
if ($curl_handle && $this->$response)
{
	return new $this->response_class($this->response_headers, $this->response_body, $this->response_code, $curl_handle);
}
//修改:
if ($curl_handle && $this->response)
{
	return new $this->response_class($this->response_headers, $this->response_body, $this->response_code, $curl_handle);
}
@lyzhang1999
Copy link

我也是这个问题,谢谢。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants