页面报错:
Deprecated: Array and string offset access syntax with curly braces is deprecated in/www/wwwroot/***/uc_server/admin.php on line53
出现报错原因:
PHP7.4不再支持使用大括号访问数组以及字符串的偏移
![Discuz! X 3.4, 更新PHP7.4后无法打开uc_server的解决方案!](https://www.cnaaa.net/wp-content/uploads/2022/07/2022060609155442.png)
将53行修改为:
if(method_exists($control, $method) && $a[0] != '_') {
文章来源:https://www.cnaaa.net,转载请注明出处:https://www.cnaaa.net/archives/9420