首页
IT
登录
6mi
u
盘
搜
搜 索
IT
thinkphp报错Call to a member function assign() on a non-object
thinkphp报错Call to a member function assign() on a non-object
xiaoxiao
2021-03-25
78
原因是:控制器里面的构造函数没有继承父类
public
function
__construct
()
{
}
解决办法:
public
function
__
construct
()
{
parent
:
:__
construct()
;
}
转载请注明原文地址: https://ju.6miu.com/read-17438.html
技术
最新回复
(
0
)