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

PHP 7.4.30 错误: Trying to access array offset on value of type null #5

Closed
at-wr opened this issue Jul 31, 2022 · 8 comments
Closed
Assignees
Labels
invalid This doesn't seem right

Comments

@at-wr
Copy link
Contributor

at-wr commented Jul 31, 2022

image

经检验配置文件不存在问题,报错代码位于此处

image

@cdwcgt
Copy link
Contributor

cdwcgt commented Jul 31, 2022

如果可能的话,是否可以上传一份删除了敏感信息的配置文件
我这边测试一下

@at-wr
Copy link
Contributor Author

at-wr commented Jul 31, 2022

config.zip

@at-wr
Copy link
Contributor Author

at-wr commented Jul 31, 2022

我是使用 go-cqhttp 作为机器人框架的,框架那边也能够正常登录

@cdwcgt
Copy link
Contributor

cdwcgt commented Aug 1, 2022

//"proxyServer": "127.0.0.1:1080",

请直接留空
json是不支持注释的

@at-wr
Copy link
Contributor Author

at-wr commented Aug 1, 2022

image

这是现在的一个配置

@at-wr
Copy link
Contributor Author

at-wr commented Aug 1, 2022

image

修改后.zip

config.json是RssQTsend的配置文件,config-edited.yml 是 go-cqhttp 的配置文件

@cdwcgt
Copy link
Contributor

cdwcgt commented Aug 1, 2022

28,39,50,61行后面的]应该去掉
[]内的是集合
请使用 json 实用工具验证自己的 json 格式
json.cn
https://c.runoob.com/front-end/53/

@at-wr
Copy link
Contributor Author

at-wr commented Aug 1, 2022

其实是27行最后的","导致的错误
现在程序运作一切正常,万分感谢,很抱歉打扰您了 (笑哭

@at-wr at-wr closed this as completed Aug 1, 2022
@skilittle skilittle added the invalid This doesn't seem right label Aug 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

3 participants