升级1.8后出现<b>Fatal error</b>:错误怎么处理?

升级1.8后出错
<b>Fatal error</b>: Cannot access protected property Ecjia\App\Connect\ConnectUser::$connect_code in <b>/content/apps/connect/modules/connect/signin_module.class.php</b> on line <b>87</b>
已邀请:

模板堂-黄博威

赞同来自:

该问题将于下个版本修复,目前解决的方案为:
把content/apps/connect/modules/connect/signin_module.class.php文件中的87行更换一下即可:
 
RC_Model::model('connect/connect_user_model')->where(array('connect_code' => $connect_user->getConnectCode(), 'user_type' => 'user', 'open_id' => $connect_user->getOpenId(), 'user_id' => $_SESSION['user_id']))->update($data);   

 

要回复问题请先登录注册