Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Slava Abakumov

    (@slaffik)

    Hi

    Please check your PHP error log (or enable debug log in WP and try again). There might be some useful information to help me help you.

    Thread Starter towerss

    (@towerss)

    Sure,

    Here we go…

    In the WP mail SMTP settings screen I got this message:

    Fatal error: Uncaught Error: Call to undefined method Google_Client::fetchAccessTokenWithAuthCode() in /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/wp-mail-smtp/src/Providers/Gmail/Auth.php:99 Stack trace: #0 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/wp-mail-smtp/src/Providers/Gmail/Auth.php(53): WPMailSMTP\Providers\Gmail\Auth->get_client() #1 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/wp-mail-smtp/src/Providers/Gmail/Options.php(112): WPMailSMTP\Providers\Gmail\Auth->__construct() #2 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/wp-mail-smtp/src/Admin/Pages/Settings.php(177): WPMailSMTP\Providers\Gmail\Options->display_options() #3 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/wp-mail-smtp/src/Admin/Area.php(255): WPMailSMTP\Admin\Pages\Settings->display() #4 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/wp-mail-smtp/src/Admin/Area.php(236): WPMailSMTP\Admin\Area->display_current_tab_content() #5 /opt/bitnami/apps/wordpress/htdocs/wp-includes/class-wp-hook.php(286) in /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/wp-mail-smtp/src/Providers/Gmail/Auth.php on line 99

    Link to the screen cap: https://drive.google.com/file/d/1Pp4qIDGsd1b5JlElXbHKYCv9QM3gVwCu/view?usp=sharing

    In the screen after I try to submit the email:

    Fatal error: Uncaught Error: Call to undefined method Google_Client::fetchAccessTokenWithAuthCode() in /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/wp-mail-smtp/src/Providers/Gmail/Auth.php:99 Stack trace: #0 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/wp-mail-smtp/src/Providers/Gmail/Auth.php(53): WPMailSMTP\Providers\Gmail\Auth->get_client() #1 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/wp-mail-smtp/src/Providers/Gmail/Mailer.php(55): WPMailSMTP\Providers\Gmail\Auth->__construct() #2 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/wp-mail-smtp/src/Providers/Loader.php(176): WPMailSMTP\Providers\Gmail\Mailer->__construct(Object(WPMailSMTP\MailCatcher)) #3 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/wp-mail-smtp/src/Providers/Loader.php(133): WPMailSMTP\Providers\Loader->get_entity(‘gmail’, ‘Mailer’) #4 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/wp-mail-smtp/src/MailCatcher.php(54): WPMailSMTP\Providers\Loader->get_mailer(‘gmail’, Object(WPMailSMTP\MailCatcher)) #5 in /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/wp-mail-smtp/src/Providers/Gmail/Auth.php on line 99

    Link to the screen cap: https://drive.google.com/file/d/1drHu5uDnfYA4alLtrym-Wt_bFPQYaT4f/view?usp=sharing

    Thank you.

    • This reply was modified 6 years, 1 month ago by towerss.
    Plugin Author Slava Abakumov

    (@slaffik)

    I’ve tested with a bitnami demo WordPress installation and Gmail mailer, I didn’t have such error.

    In order to troubleshoot further, I’ll need to collect more details. When you get a chance, would you please go to https://wpforms.com/contact/ and click the ‘Complete a Form’ button on the right side? This will allow you to submit a ticket without a WPForms account. Please mention my name (Slava) in your message there, so I will be notified.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Plugin crashed after adding the Google API OAuth details’ is closed to new replies.