分页: 1 / 1

typecho1.2.0登录Return value of Widget\User::login() must be of the type bool, null returned

发表于 : 2022年 4月 2日 07:04
shidang
昨天晚上刚安装的typecho今天早上登录显示 Return value of Widget\User::login() must be of the type bool, null returned
有没有大佬帮帮我

Re: typecho1.2.0登录Return value of Widget\User::login() must be of the type bool, null returned

发表于 : 2022年 11月 8日 14:32
maemolee
遇到了同样的问题,呼叫管理员

Re: typecho1.2.0登录Return value of Widget\User::login() must be of the type bool, null returned

发表于 : 2022年 11月 9日 09:21
iMaeGoo
遇到了同样的问题,试着删掉 typecho/var/Widget/User.php 里面的这几行代码以后恢复正常,但是不明白是什么原理

代码: 全选

        //插件接口
        $result = self::pluginHandle()->trigger($loginPluggable)->login($name, $password, $temporarily, $expire);
        if ($loginPluggable) {
            return $result;
        }