Title: HTTP 500 and PHP error
Last modified: June 5, 2018

---

# HTTP 500 and PHP error

 *  [thrivingnow](https://wordpress.org/support/users/thrivingnow/)
 * (@thrivingnow)
 * [8 years ago](https://wordpress.org/support/topic/http-500-and-php-error/)
 * My setup was working great for many months. This morning it’s throwing an exception
   on the server and returning a HTTP 500 error to clients:
 * Uncaught exception ‘InvalidArgumentException’ with message ‘Invalid token format’
   in /home/thriving1/public_html/wp/wp-content/plugins/gmail-smtp/google-api-php-
   client/src/Google/Client.php:434
 * Any clues what might be happening here? I had to disable the plugin to keep the
   site working.
 * Rick

Viewing 1 replies (of 1 total)

 *  Plugin Author [Noor Alam](https://wordpress.org/support/users/naa986/)
 * (@naa986)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/http-500-and-php-error/#post-10461706)
 * Hi, Please do a fresh authorization and see how it goes:
 * [https://wphowto.net/gmail-smtp-plugin-for-wordpress-1341](https://wphowto.net/gmail-smtp-plugin-for-wordpress-1341)

Viewing 1 replies (of 1 total)

The topic ‘HTTP 500 and PHP error’ is closed to new replies.

 * ![](https://ps.w.org/gmail-smtp/assets/icon-128x128.png?rev=2432932)
 * [Gmail SMTP](https://wordpress.org/plugins/gmail-smtp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gmail-smtp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gmail-smtp/)
 * [Active Topics](https://wordpress.org/support/plugin/gmail-smtp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gmail-smtp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gmail-smtp/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Noor Alam](https://wordpress.org/support/users/naa986/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/http-500-and-php-error/#post-10461706)
 * Status: not resolved