MissMyCat / aliyun-sms

适应Laravel框架和非laravel框架,基于2017-05阿里云更新的短信接口封装。
83 stars 14 forks source link

Throw Exception Error #11

Open philip8728 opened 5 years ago

philip8728 commented 5 years ago

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

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

grantholle commented 5 years ago

Also having this problem

grantholle commented 5 years ago

It still works with guzzle version 6.3.0.

2501224066 commented 5 years ago

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