-
-
Notifications
You must be signed in to change notification settings - Fork 443
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
难道你们都没有这个致命错误? #178
Comments
match 是 PHP 8.1 引入的新特性,确认一下你的 PHP 版本,另外报错的这段代码并不是 QueryList 的代码 |
可是大哥 你官网写的php要求是7.1啊 现在php7安装了 这个版本又有php8的代码 |
我都说了报错的这段代码并不是 QueryList 的代码,你检查一下报错文件是哪一个?定位一下是哪个包导致的报错 |
不是很清楚。又出现了奇怪的错误 另外我php版本是7.4 我很想用,但是安装总是有问题。 另外安装后又出现了奇怪的问题。 我的脚本原来正常运行, 昨天装了插件后报错了一夜。fack 错误内容是Array to string conversion。 我并没有找到具体是哪里。 赶紧卸载了插件 |
4.2.8 能正常运行。 |
谢谢。我试了 这个版本似乎是正常的,终于可与用了 |
$groupKey = match (true) {
is_bool($groupKey) => (int) $groupKey,
$groupKey instanceof \Stringable => (string) $groupKey,
default => $groupKey,
};
错误是语法解析错误: syntax error, unexpected '=>' (T_DOUBLE_ARROW)
我用的是fastadmin
The text was updated successfully, but these errors were encountered: