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

Class 'GuzzleHttp\Middleware' not found #404

Closed
xiejianxuan5 opened this issue Apr 23, 2016 · 3 comments
Closed

Class 'GuzzleHttp\Middleware' not found #404

xiejianxuan5 opened this issue Apr 23, 2016 · 3 comments

Comments

@xiejianxuan5
Copy link

我用的环境

PHP 版本:
overtrue/wechat 版本:3.0

问题及现象

composer 下来的代码。
$userinfoService = Yii::$app->wechat->getService('user');
$userinfo = $userinfoService->get($openid);

Class 'GuzzleHttp\Middleware' not found、再整个vendor中也没有找到这个命名空间下的Middleware文件。是不是版本跟GuzzleHttp的版本不一样了

@overtrue
Copy link
Collaborator

composer info guzzlehttp/guzzle 把结果粘贴到这里我看看。

@xiejianxuan5
Copy link
Author

@overtrue 多谢回复。已经解决!多个包中都用到了它。每个里面的版本都一样。我更新了。

@overtrue
Copy link
Collaborator

好的

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