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

获取小程序二维码报错 #766

Closed
alwaystrong opened this issue Jun 27, 2017 · 2 comments
Closed

获取小程序二维码报错 #766

alwaystrong opened this issue Jun 27, 2017 · 2 comments

Comments

@alwaystrong
Copy link

我用的环境

PHP 版本:7.0
overtrue/wechat 版本:3.3

问题及现象

获取小程序二维码错误:

FatalThrowableError in AbstractAPI.php line 229:
Type error: Argument 1 passed to EasyWeChat\Core\AbstractAPI::checkAndThrow() must be of the type array, boolean given, called in /Users/Qiang/Developer/laravel/blog/vendor/overtrue/wechat/src/Core/AbstractAPI.php on line 136

#515 修改过 fuckTheWeChatInvalidJSON 这个函数,不知道这个问题是不是也是要怎么修改下

@alwaystrong
Copy link
Author

我使用 postman 是可以获取到一张二维码图片,headers 信息如图,不知道对解决这个问题有没有帮助

default

@alwaystrong
Copy link
Author

多谢!已经可以了,是要赶快合并上去哈

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

1 participant