if you have the version from here , you should just change in /common/models/Setting.php
search
public function getGraphSetting(){
$resultSetting = $this->getSettingData();
$key = base64_decode('ZW52ZW50b1B1cmNoYXNlQ29kZQ==');
$code = Yii::$app->params[$key];
$msg = base64_decode('RW52YWxpZCBlbnZlbnRvIHB1cmNoYXNlIGNvZGU=');
if(!$code){
Yii::$app->user->logout();
Yii::$app->session->setFlash('error', $msg);
return false;
}else{
if(!$resultSetting->user_p_id){
try {
$url = base64_decode('aHR0cHM6Ly9md2R0ZWNobm9sb2d5LmNvL2xpY2VuY2VfY2hlY2tlci9hcGkvd2ViL3YxL2xpY2VuY2Vz');
$site_url = Yii::$app->params['siteUrl'];
$ip = isset($_SERVER['REMOTE_ADDR']) ? $_SERVER['REMOTE_ADDR'] : null;
$data = ['purchase_code'=>$code,'site_url'=>$site_url,'ip'=>$ip,'source_type'=>'admin','p'=>'IkshidddddsdffliNjh2303','au'=>'iosappsworld'];
$result = $this->CallAPI('GET',$url,$data);
$resultData = json_decode($result);
if($resultData->status==200){
$replyCode = $resultData->data->replyCode;
if($replyCode =='NOTUP'){
Yii::$app->user->logout();
Yii::$app->session->setFlash('error', $resultData->message);
return false;
}else if($replyCode =='UP'){
$resultSetting->user_p_id=$code;
$resultSetting->save(false);
}
}
} catch (ErrorException $e) {
$resultSetting->user_p_id=$code;
$resultSetting->save(false);
}
and replace the whole code
public function getGraphSetting(){
return true;
}
if you attach a file, try to preview it, if necessary use it
Setting.php