• When attempting to view Connection Details for a Google Workspace connection, I receive a fatal error:

    Google returns an error response as an array, but Handler.php assumes it received a WP_Error object and calls $error->get_error_message(), which triggers the below fatal error. That secondary fatal error hides the more useful Google response.

    PHP Fatal error: Uncaught Error: Call to a member function get_error_message() on array in /.../wp-content/plugins/fluent-smtp/app/Services/Mailer/Providers/Gmail/Handler.php:310#012Stack trace:#012#0 /.../wp-content/plugins/fluent-smtp/app/Http/Controllers/SettingsController.php(219): FluentMail\App\Services\Mailer\Providers\Gmail\Handler->getConnectionInfo(Array)#012#1 [internal function]: FluentMail\App\Http\Controllers\SettingsController->getConnectionInfo(Object(FluentMail\Includes\Request\Request), Object(FluentMail\App\Models\Settings), Object(FluentMail\App\Services\Mailer\Providers\Factory))#012#2 /.../wp-content/plugins/fluent-smtp/includes/Core/Container.php(507): call_user_func_array(Array, Array)#012#3 /.../wp-content/plugins/fluent-smtp/includes/Core/Container.php(633): FluentMail\Includes\Core\Container->call(Array, Array)#012#4 /.../wp-content/plugins/fluent-smtp/includes/Core/Container.php(502): FluentMail\Includes\Core\Container->callClass('FluentMail\\App\\...', Array, NULL)#012#5 /.../wp-content/plugins/fluent-smtp/includes/Core/CoreTrait.php(73): FluentMail\Includes\Core\Container->call('FluentMail\\App\\...')#012#6 /.../wp-includes/class-wp-hook.php(341): FluentMail\Includes\Core\Application->{closure:FluentMail\Includes\Core\CoreTrait::parseAjaxHandler():72}('')#012#7 /.../wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters('', Array)#012#8 /.../wp-includes/plugin.php(522): WP_Hook->do_action(Array)#012#9 /.../wp-admin/admin-ajax.php(192): do_action('wp_ajax_fluentm...')#012#10 {main}#012 thrown in /.../wp-content/plugins/fluent-smtp/app/Services/Mailer/Providers/Gmail/Handler.php on line 310

You must be logged in to reply to this topic.