IPB 中线程内部错误

问题描述 投票:0回答:1

当我尝试查看线程时出现此错误: 解析错误:语法错误,/home/forum/public_html/hooks/contentRatingsPost_e5cf98fbd73a08ec82d714032b259e78.php 第 133 行出现意外的 T_FUNCTION

第133行: uasort($data[' rating_totals'], function($a, $b) { if(count($b)==count($a)){return 0;} return (count($b) < count($a)) ? -1 : 1; });

php ipb
1个回答
0
投票

向该钩子的作者报告,或者要求您的主机升级您的 PHP 版本,因为您现在的 PHP 版本不允许使用 匿名函数

© www.soinside.com 2019 - 2024. All rights reserved.