为了账号安全,请及时绑定邮箱和手机立即绑定

Non-static method think\Config::set() should not be called statically, assuming $this from incompatible context

Non-static method think\Config::set() should not be called statically, assuming $this from incompatible context

															

正在回答

1 回答

这个视频教程17年的,挺旧的,ThinkPHP 5/5.1框架这几年里更新过多次,很多地方已经改变。报错提示你set()不是静态方法,不能使用双冒号::来调用,只能使用->来调用。
下载视频          
0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

Non-static method think\Config::set() should not be called statically, assuming $this from incompatible context

我要回答 关注问题
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号