aliyun-sms icon indicating copy to clipboard operation
aliyun-sms copied to clipboard

Throw Exception Error

Open philip8728 opened this issue 6 years ago • 3 comments

Argument 2 passed to GuzzleHttp\Exception\BadResponseException::__construct() must implement interface Psr\Http\Message\RequestInterface, string given, called in /.../.../vendor/mrgoon/aliyun-sms-sdk/aliyun-php-sdk-core/DefaultAcsClient.php on line 122

(Symfony\Component\Debug\Exception\FatalThrowableError(code: 0): Argument 2 passed to GuzzleHttp\Exception\BadResponseException::__construct() must implement interface Psr\Http\Message\RequestInterface, string given, called in /.../.../vendor/mrgoon/aliyun-sms-sdk/aliyun-php-sdk-core/DefaultAcsClient.php on line 122 at

看了下源码,有个参数传的貌似有问题?

philip8728 avatar Dec 19 '18 04:12 philip8728

Also having this problem

grantholle avatar Feb 14 '19 23:02 grantholle

It still works with guzzle version 6.3.0.

grantholle avatar Feb 15 '19 00:02 grantholle

@grantholle @philip8728 @MissMyCat 所以怎么整,把guzzle版本降级?

2501224066 avatar Sep 12 '19 08:09 2501224066