Edit File by line
/home/barbar84/www/wp-conte.../plugins/updraftp.../methods
File: dropbox.php
try {
[1000] Fix | Delete
$oauth = new Dropbox_Curl($sec, $oauth2_id, $key, $dropbox_storage, $callback, $callbackhome, $deauthenticate, $instance_id);
[1001] Fix | Delete
} catch (Exception $e) {
[1002] Fix | Delete
$this->log("Curl error: ".$e->getMessage());
[1003] Fix | Delete
$this->log(sprintf(__("%s error: %s", 'updraftplus'), "Dropbox/Curl", $e->getMessage().' ('.get_class($e).') (line: '.$e->getLine().', file: '.$e->getFile()).')', 'error');
[1004] Fix | Delete
return false;
[1005] Fix | Delete
}
[1006] Fix | Delete
[1007] Fix | Delete
if ($deauthenticate) return true;
[1008] Fix | Delete
[1009] Fix | Delete
$storage = new UpdraftPlus_Dropbox_API($oauth, $root);
[1010] Fix | Delete
[1011] Fix | Delete
$this->set_storage($storage);
[1012] Fix | Delete
[1013] Fix | Delete
return $storage;
[1014] Fix | Delete
}
[1015] Fix | Delete
}
[1016] Fix | Delete
[1017] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function