我使用的iCMS是支持PHP 5.4 - PHP 5.5,据说报错是因为主机商将PHP版本更新到PHP 7.2和PHP 7.3,而出现兼容问题,现在不能正常使用了。请问iCMS最新升级的版本能否在PHP 7.2和PHP 7.3下运行正常不报错呢?如果有更新,请问是哪一版的iCMS?
以下是iCMS报错提示:
Warning: count(): Parameter must be an array or an object that implements Countable
[0] in function iPHP::error_handler in iPHP://app/menu/menu.class.php on line 230
[1] in function menu::li in iPHP://app/menu/menu.class.php on line 206
[2] in function menu::nav in iPHP://app/admincp/template/admincp.navbar.php on line 42
[3] in function include in iPHP://app/admincp/admincp.class.php on line 187
[4] in function admincp::head in iPHP://app/admincp/template/admincp.index.php on line 11
[5] in function include in iPHP://app/admincp/admincp.app.php on line 77
[6] in function admincpApp->do_iCMS in iPHP://app/admincp/admincp.class.php on line 151
[7] in function admincp::run in iPHP://admincp.php on line 13