-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
php8 error #1989
Comments
哦忘了说,我是通过laravel安装的,laravel-wechat还未更改依赖为 |
麻烦提问前先检查 issue 里是否已经提过,感谢。 |
overtrue/laravel-wechat 依赖的是 overtrue/wechat 无法找到 w7corp/easywechat 的发行版 |
为啥要找 w7corp/easywechat 发行版?麻烦看一下 README 先 |
我意思是 靠 |
|
为我的鲁莽道歉。
刚刚是因为我看到,5.2.3是5天前发版,于是以为并未修复昨天另外一个人报的php8的报错
…----------
该邮件从移动设备发送
--------------原始邮件--------------
发件人:"安正超 "<notifications@github.com>;
发送时间:2020年12月8日(星期二) 中午12:44
收件人:"w7corp/easywechat" <easywechat@noreply.github.com>;
抄送:"Xiaohui Lam "<xiaohui.lam@e.hexdata.cn>;"Author "<author@noreply.github.com>;
主题:Re: [w7corp/easywechat] php8 error (#1989)
-----------------------------------
w7corp/easywechat 在 readme 头部写了,从 6.0 开始发版,6.0之前包名不变,目前最新版 5.2.3;
5.2.3 包含 PHP 8 的修复:5.2.1...5.2.3;
不要张口就来,除非你确实缺少基本的教养;
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
经过测试确实 5.2.3 是兼容的, 谢谢 overtrue。 |
环境
php 8.0
报错
[2020-12-08 02:41:03] local.ERROR: Method EasyWeChat\Kernel\Support\Collection::__set_state() must take exactly 1 argument {"exception":"[object] (Symfony\Component\ErrorHandler\Error\FatalError(code: 0): Method EasyWeChat\Kernel\Support\Collection::__set_state() must take exactly 1 argument at /vendor/overtrue/wechat/src/Kernel/Support/Collection.php:347)
[stacktrace]
#0 {main}
"}
[2020-12-08 03:23:39] local.ERROR: Method EasyWeChat\Kernel\Support\Collection::__set_state() must be static {"exception":"[object] (Symfony\Component\ErrorHandler\Error\FatalError(code: 0): Method EasyWeChat\Kernel\Support\Collection::__set_state() must be static at /vendor/overtrue/wechat/src/Kernel/Support/Collection.php:347)
[stacktrace]
#0 {main}
The text was updated successfully, but these errors were encountered: