出现报错 Fatal error: Class ‘Oauth2CLient’ not found in /www/…/framework/model/user.mod.php on line 19(翻译过来也就是说没有找到Oauth2CLient这个类)
解决办法
找到这个文件user.mod.php,第19行,在他的前面加上这段代码load()->classs(‘oauth2/oauth2client’);
心得
今天使用微擎外卖模块添加店员功能,出现报错,然后顺藤摸瓜,在user.mod.php文件中搜索Oauth2CLient 没看出名堂,然后在Oauth2CLient第二个结果中发现这段代码load()->classs(‘oauth2/oauth2client’); 最后判定此次报错是真的没有引入这个类。