显示Class 'Think\Controller\FuController' not found和Call to a member function assign() on a non-object 的错误问题

Class 'Think\Controller\FuController' not found

错误位置

FILE: D:\wamp\www\tinkphp\Application\Come\Controller\IndexController.class.php  LINE: 5

问题出现在Tink,文件路径不对,把它换成Come就可以了。

显示Class 'Think\Controller\FuController' not found和Call to a member function assign() on a non-object 的错误问题

显示Class 'Think\Controller\FuController' not found和Call to a member function assign() on a non-object 的错误问题

问题出现在控制器里面的__construct()方法覆盖掉了父类的构造方法,加上方框里面的那句话就解决了。

显示Class 'Think\Controller\FuController' not found和Call to a member function assign() on a non-object 的错误问题

上一篇:qhfl-9 微信模板消息推送


下一篇:C Windows控制台字符版本俄罗斯方块