跳至主內容區

XOOPS輕鬆架

:::

主內容區域

ugm page 自訂頁面

升級php版本至7.1後,後台都無法進入

discuss pic 2020-05-22 23:03:00

升級php版本至7.1後,後台都無法進入…是什麼問題?

Error: [] operator not supported for strings

Error : Error: Call to a member function name() on null

 

A problem has occurred on our server!

Page is currently unavailable

We are working on a fix
Please come back soon ...

Error : Error: Call to a member function name() on null

 

用php5的版本到是正常無誤…

discuss pic 2020-05-23 22:06:38

發現問題應該出在…

Fatal error: Call to a member function name() on null in /home/xoops/html/modules/ugm_page/interface_menu.php on line 12

Fatal error: Call to a member function dirname() on null in /home/xoops/html/modules/ugm_page/interface_menu.php on line 13

/interface_menu.php的第12、13行…先註解掉就可以了…

$mod_name   = $xoopsModule->name();//模組中文名
$moduleName = $xoopsModule->dirname();//模組 

不知道會影響什麼?

:::

左邊區域內容

快速登入


右邊區域內容

請掃此 QR Code 可連至此頁面

計數器

今天: 261261261
昨天: 3048304830483048
總計: 9904643990464399046439904643990464399046439904643

頁尾區域