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

10.2.7 报错 #16

Open
ax2016 opened this issue May 18, 2023 · 3 comments
Open

10.2.7 报错 #16

ax2016 opened this issue May 18, 2023 · 3 comments

Comments

@ax2016
Copy link

ax2016 commented May 18, 2023

/public/plugins/server/idcsmart_common/hooks.php
[line:protected] => 109

在线充值 这个文件会报错

[message:protected] => Trying to access array offset on value of type null

@ax2016
Copy link
Author

ax2016 commented Jun 6, 2023

这个问题PHP7.2不会出现 PHP7.4就会出现

@raw-berry
Copy link

/public/plugins/server/idcsmart_common/hooks.php
after_order_create这个钩子的问题,应该是$upgrade是null,下面又当成数组报错了
添加个判断应该就可以解决
if(empty($upgrade)){
return false;
}

@ax2016
Copy link
Author

ax2016 commented Jun 28, 2023

老哥方便给个联系方式不,交流一下开发

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