Confirmation Link in E-Mail not working

Support forumCategory: BugsConfirmation Link in E-Mail not working
Harry asked 4 years ago
When I use the confirmation link placed in the mail it is not working. No E-Mail to customer is send. But it works if I confirm the appointment in the backend.
3 Answers
Nikola Loncar Staff answered 4 years ago
Hi Harry is there any error on page or in error log file regarding that? Best regards, Nikola
mark_shea answered 4 years ago
Having the same issue. The error is- \"There has been a critical error on your website. Learn more about debugging in Wordpress.\" We have a tight timeline to get this fixed. How do I request the included hour of support for purchasing the extension plugin?
mark_shea replied 4 years ago

Here is the link provided for debugging: https://wordpress.org/support/article/debugging-in-wordpress/

mark_shea replied 4 years ago

Actually, the confirmed emails aren’t sending when confirmed through the plugin interface either, but texts are. GCal is syncing, but the confirmed events do not show up. I will start a new thread.

gonzalo_millan answered 4 years ago
I think I have the same mistake and I cant confirm in the backend neither. This is the message I get when I try to confirm the booking via email:   Warning: json_decode() expects parameter 1 to be string, array given in /var/www/vhost/azafranal.net/home/html/wp-content/plugins/easy-appointments-connect/vendor/google/apiclient/src/Google/Auth/OAuth2.php on line 184Fatal error: Uncaught Google_Auth_Exception: Could not json decode the token in /var/www/vhost/azafranal.net/home/html/wp-content/plugins/easy-appointments-connect/vendor/google/apiclient/src/Google/Auth/OAuth2.php:186 Stack trace: #0 /var/www/vhost/azafranal.net/home/html/wp-content/plugins/easy-appointments-connect/vendor/google/apiclient/src/Google/Client.php(218): Google_Auth_OAuth2->setAccessToken(NULL) #1 /var/www/vhost/azafranal.net/home/html/wp-content/plugins/wp-mail-smtp/src/Providers/Gmail/Auth.php(120): Google_Client->setAccessToken(Array) #2 /var/www/vhost/azafranal.net/home/html/wp-content/plugins/wp-mail-smtp/src/Providers/Gmail/Auth.php(37): WPMailSMTP\\Providers\\Gmail\\Auth->get_client() #3 /var/www/vhost/azafranal.net/home/html/wp-content/plugins/wp-mail-smtp/src/Providers/Gmail/Mailer.php(79): WPMailSMTP\\Providers\\Gmail\\Auth->__construct() #4 /var/www/vhost/azafranal.net/home/html/wp-content/plugins/wp-mail-smtp/src/MailCatcher.php(122): WPMailSMTP\\Providers\\Gmail\\Mailer->send() #5 /var/www/vhost/azafrana in /var/www/vhost/azafranal.net/home/html/wp-content/plugins/easy-appointments-connect/vendor/google/apiclient/src/Google/Auth/OAuth2.php on line 186 Ha habido un error crítico en tu web.