refresh token must be passed in or set as part of setAccessToken
-
Darwin Backup: v1.2.25, PHP Version: 7.2.5-0ubuntu0.18.04.1, OS: Linux, SAPI: fpm-fcgi, UNPACK: Array ( [1] => 1 ) User Level: 10, WP_ALLOW_MULTISITE: false, MULTISITE: false, LogicException Object ( [message:protected] => refresh token must be passed in or set as part of setAccessToken [string:Exception:private] => LogicException: refresh token must be passed in or set as part of setAccessToken in /wp-content/plugins/gmail-smtp/google-api-php-client/src/Google/Client.php:267 Stack trace: #0 /wp-content/plugins/gmail-smtp/google-api-php-client/src/Google/Client.php(255): Google_Client->fetchAccessTokenWithRefreshToken(NULL) #1 /wp-content/plugins/gmail-smtp/class.phpmaileroauthgoogle.php(150): Google_Client->refreshToken(NULL) #2 /wp-content/plugins/gmail-smtp/PHPMailer/class.smtp.php(475): GmailXOAuth2->getOauth64() #3 /wp-content/plugins/gmail-smtp/class.phpmaileroauth.php(152): SMTP->authenticate('', '', 'XOAUTH2', '', '', Object(GmailXOAuth2)) #4 /wp-content/plugins/gmail-smtp/PHPMailer/class.phpmailer.php(1542): PHPMailerOAuth->smtpConnect(Array) #5 /wp-content/plugins/gmail-smtp/PHPMailer/class.phpmailer.php(1337): PHPMailer->smtpSend('Date: Fri, 15 J...', '<p>Your backup ...') #6 /wp-content/plugins/gmail-smtp/PHPMailer/class.phpmailer.php(1215): PHPMailer->postSend() #7 /wp-content/plugins/gmail-smtp/main.php(943): PHPMailer->send() #8 /wp-content/plugins/darwin-backup/AnyWay/Tasks/WordpressMail.php(58): wp_mail(Array, '[iwill.danceine...', '<p>Your backup ...', Array, Array) #9 /wp-content/plugins/darwin-backup/AnyWay/QueueManager.php(92): AnyWay_Tasks_WordpressMail->runPartial(1529053024, 1529053043) #10 /wp-content/plugins/darwin-backup/AnyWay/Runner/Base.php(73): AnyWay_QueueManager->next(1529053024, 1529053043) #11 /wp-content/plugins/darwin-backup/classes/Page/Create.php(101): AnyWay_Runner_Base->nextStep(1529053024, 1529053043) #12 /wp-content/plugins/darwin-backup/classes/Page/Base.php(241): AnyWay_Wordpress_Page_Create->next_step_ajax('') #13 /wp-includes/class-wp-hook.php(286): AnyWay_Wordpress_Page_Base->safe_action('') #14 /wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array) #15 /wp-includes/plugin.php(453): WP_Hook->do_action(Array) #16 /wp-admin/admin-ajax.php(99): do_action('wp_ajax_anyway_...') #17 {main} [code:protected] => 0 [file:protected] => /wp-content/plugins/gmail-smtp/google-api-php-client/src/Google/Client.php [line:protected] => 267 [trace:Exception:private] => Array ( [0] => Array ( [file] => /wp-content/plugins/gmail-smtp/google-api-php-client/src/Google/Client.php [line] => 255 [function] => fetchAccessTokenWithRefreshToken [class] => Google_Client [type] => -> [args] => Array ( [0] => ) ) [1] => Array ( [file] => /wp-content/plugins/gmail-smtp/class.phpmaileroauthgoogle.php [line] => 150 [function] => refreshToken [class] => Google_Client [type] => -> [args] => Array ( [0] => ) ) [2] => Array ( [file] => /wp-content/plugins/gmail-smtp/PHPMailer/class.smtp.php [line] => 475 [function] => getOauth64 [class] => GmailXOAuth2 [type] => -> [args] => Array ( ) ) [3] => Array ( [file] => /wp-content/plugins/gmail-smtp/class.phpmaileroauth.php [line] => 152 [function] => authenticate [class] => SMTP [type] => -> [args] => Array ( [0] => [1] => [2] => XOAUTH2 [3] => [4] => [5] => GmailXOAuth2 Object ( [oauthUserEmail:GmailXOAuth2:private] => [email protected] [oauthRefreshToken:GmailXOAuth2:private] => [oauthClientId:GmailXOAuth2:private] => 577262540320-blulumamtjt47qcot9dqqi2b292vghai.apps.googleusercontent.com [oauthClientSecret:GmailXOAuth2:private] => 3uioGbtHzDaPUbBpfWZL3Y2u ) ) ) [4] => Array ( [file] => /wp-content/plugins/gmail-smtp/PHPMailer/class.phpmailer.php [line] => 1542 [function] => smtpConnect [class] => PHPMailerOAuth [type] => -> [args] => Array ( [0] => Array ( ) ) ) [5] => Array ( [file] => /wp-content/plugins/gmail-smtp/PHPMailer/class.phpmailer.php [line] => 1337 [function] => smtpSend [class] => PHPMailer [type] => -> [args] => Array ( [0] => Date: Fri, 15 Jun 2018 08:56:59 +0000 To: [email protected] From: Richard Irwin <[email protected]> Subject: [iwill.danceineternity.com] manual backup is ready Message-ID: <[email protected]> X-Mailer: PHPMailer 5.2.26 (https://github.com/PHPMailer/PHPMailer) MIME-Version: 1.0 Content-Type: text/html; charset=UTF-8 [1] => <p>Your backup is located here:</p> <p> <a href="https://iwill.danceineternity.com/wp-content/darwin-backup/restore.php?rid=5b237f4cdd4557.75749515">https://iwill.danceineternity.com/wp-content/darwin-backup/restore.php?rid=5b237f4cdd4557.75749515</a> </p> ) ) [6] => Array ( [file] => /wp-content/plugins/gmail-smtp/PHPMailer/class.phpmailer.php [line] => 1215 [function] => postSend [class] => PHPMailer [type] => -> [args] => Array ( ) ) [7] => Array ( [file] => /wp-content/plugins/gmail-smtp/main.php [line] => 943 [function] => send [class] => PHPMailer [type] => -> [args] => Array ( ) ) [8] => Array ( [file] => /wp-content/plugins/darwin-backup/AnyWay/Tasks/WordpressMail.php [line] => 58 [function] => wp_mail [args] => Array ( [0] => Array ( [0] => [email protected] ) [1] => [iwill.danceineternity.com] manual backup is ready [2] => <p>Your backup is located here:</p> <p> <a href="https://iwill.danceineternity.com/wp-content/darwin-backup/restore.php?rid=5b237f4cdd4557.75749515">https://iwill.danceineternity.com/wp-content/darwin-backup/restore.php?rid=5b237f4cdd4557.75749515</a> </p> [3] => Array ( ) [4] => Array ( [0] => ) ) ) [9] => Array ( [file] => /wp-content/plugins/darwin-backup/AnyWay/QueueManager.php [line] => 92 [function] => runPartial [class] => AnyWay_Tasks_WordpressMail [type] => -> [args] => Array ( [0] => 1529053024 [1] => 1529053043 ) ) [10] => Array ( [file] => /wp-content/plugins/darwin-backup/AnyWay/Runner/Base.php [line] => 73 [function] => next [class] => AnyWay_QueueManager [type] => -> [args] => Array ( [0] => 1529053024 [1] => 1529053043 ) ) [11] => Array ( [file] => /wp-content/plugins/darwin-backup/classes/Page/Create.php [line] => 101 [function] => nextStep [class] => AnyWay_Runner_Base [type] => -> [args] => Array ( [0] => 1529053024 [1] => 1529053043 ) ) [12] => Array ( [file] => /wp-content/plugins/darwin-backup/classes/Page/Base.php [line] => 241 [function] => next_step_ajax [class] => AnyWay_Wordpress_Page_Create [type] => -> [args] => Array ( [0] => ) ) [13] => Array ( [file] => /wp-includes/class-wp-hook.php [line] => 286 [function] => safe_action [class] => AnyWay_Wordpress_Page_Base [type] => -> [args] => Array ( [0] => ) ) [14] => Array ( [file] => /wp-includes/class-wp-hook.php [line] => 310 [function] => apply_filters [class] => WP_Hook [type] => -> [args] => Array ( [0] => [1] => Array ( [0] => ) ) ) [15] => Array ( [file] => /wp-includes/plugin.php [line] => 453 [function] => do_action [class] => WP_Hook [type] => -> [args] => Array ( [0] => Array ( [0] => ) ) ) [16] => Array ( [file] => /wp-admin/admin-ajax.php [line] => 99 [function] => do_action [args] => Array ( [0] => wp_ajax_anyway_next_step_ajax ) ) ) [previous:Exception:private] => )
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘refresh token must be passed in or set as part of setAccessToken’ is closed to new replies.