Title: Plugin Broken Suddenly
Last modified: June 19, 2019

---

# Plugin Broken Suddenly

 *  [TheMarque](https://wordpress.org/support/users/themarque/)
 * (@themarque)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/plugin-broken-suddenly/)
 * This plugin is no longer working properly. I have been using it along with WP
   Forms and WP Mail SMTP for a while and with the new WordPress update (or something!)
   it has now stopped working and also causes the WP Mail SMTP plugin to not work.
   It is creating authentication issues. The error I get is:
 * Warning: json_decode() expects parameter 1 to be string, array given in /home/
   shasfyzh/public_html/wp/wp-content/plugins/google-calendar-events/vendor/google/
   apiclient/src/Google/Auth/OAuth2.php on line 184
 * Fatal error: Uncaught Google_Auth_Exception: Could not json decode the token 
   in /home/shasfyzh/public_html/wp/wp-content/plugins/google-calendar-events/vendor/
   google/apiclient/src/Google/Auth/OAuth2.php:186 Stack trace: #0 /home/shasfyzh/
   public_html/wp/wp-content/plugins/google-calendar-events/vendor/google/apiclient/
   src/Google/Client.php(218): Google_Auth_OAuth2->setAccessToken(NULL) #1 /home/
   shasfyzh/public_html/wp/wp-content/plugins/wp-mail-smtp/src/Providers/Gmail/Auth.
   php(121): Google_Client->setAccessToken(Array) #2 /home/shasfyzh/public_html/
   wp/wp-content/plugins/wp-mail-smtp/src/Providers/Gmail/Auth.php(53): WPMailSMTP\
   Providers\Gmail\Auth->get_client() #3 /home/shasfyzh/public_html/wp/wp-content/
   plugins/wp-mail-smtp/src/Providers/Gmail/Mailer.php(79): WPMailSMTP\Providers\
   Gmail\Auth->__construct() #4 /home/shasfyzh/public_html/wp/wp-content/plugins/
   wp-mail-smtp/src/MailCatcher.php(105): WPMailSMTP\Providers\Gmail\Mailer->send()#
   5 /home/shasfyzh/public_html/wp/wp-includes/pluggable.php(488): WPMailSMTP\MailCatche
   in /home/shasfyzh/public_html/wp/wp-content/plugins/google-calendar-events/vendor/
   google/apiclient/src/Google/Auth/OAuth2.php on line 186
    The site is experiencing
   technical difficulties. Please check your site admin email inbox for instructions.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [leemaynard](https://wordpress.org/support/users/leemaynard/)
 * (@leemaynard)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/plugin-broken-suddenly/#post-11655033)
 * Do you suppose it is the latest WP 5.2.2 update that just happened? It seems 
   WP is spewing out updates at a furious pace.
    -  This reply was modified 6 years, 11 months ago by [leemaynard](https://wordpress.org/support/users/leemaynard/).
 *  Thread Starter [TheMarque](https://wordpress.org/support/users/themarque/)
 * (@themarque)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/plugin-broken-suddenly/#post-11657170)
 * Yeah you’re right, they are. It’s possible! WP Mail SMTP and Simple Events are
   suddenly not working together.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Plugin Broken Suddenly’ is closed to new replies.

 * ![](https://ps.w.org/google-calendar-events/assets/icon-256x256.png?rev=1263960)
 * [Simple Calendar - Google Calendar Plugin](https://wordpress.org/plugins/google-calendar-events/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-calendar-events/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-calendar-events/)
 * [Active Topics](https://wordpress.org/support/plugin/google-calendar-events/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-calendar-events/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-calendar-events/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [TheMarque](https://wordpress.org/support/users/themarque/)
 * Last activity: [6 years, 11 months ago](https://wordpress.org/support/topic/plugin-broken-suddenly/#post-11657170)
 * Status: not resolved