typecho独立页面error【求助】

讨论程序使用中的问题
回复
anyi
帖子: 2
注册时间: 2021年 8月 10日 23:12

typecho独立页面error【求助】

帖子 anyi »

打开独立页面显示error,之前一直都没问题的,显示如下:
Argument 1 passed to Widget_Abstract_Contents::size() must be an instance of Typecho_Db_Query, null given, called in /www/wwwroot/xxxx.cn/var/Widget/Archive.php on line 565

打开archive.php第565行是:

562 public function getTotal()
563 {
564 if (false === $this->_total) {
565 $this->_total = $this->size($this->_countSql);
}
return $this->_total;
}
小白一枚,求大佬帮忙看一下是什么问题,谢谢!!!
回复