Title: Ajax Error with PHP 8 + Gmail API
Last modified: April 6, 2021

---

# Ajax Error with PHP 8 + Gmail API

 *  Resolved [Company 50](https://wordpress.org/support/users/co50/)
 * (@co50)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/ajax-error-with-php-8-gmail-api/)
 * After upgrading select websites to PHP 8.0, all of them that use the Gmail API
   connection method with Post SMTP produce an Ajax Error. Those using SMTP work
   fine. Reverting to PHP 7.4 fixes the issue. Any plans to update?

Viewing 1 replies (of 1 total)

 *  [Tim](https://wordpress.org/support/users/tneville/)
 * (@tneville)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/ajax-error-with-php-8-gmail-api/#post-14283425)
 * Hi [@co50](https://wordpress.org/support/users/co50/),
 * There are no plans at the moment, I’m afraid. I have flagged this request to 
   the developer [@yehudah](https://wordpress.org/support/users/yehudah/) for consideration.
 * Kind Regards,
    Tim

Viewing 1 replies (of 1 total)

The topic ‘Ajax Error with PHP 8 + Gmail API’ is closed to new replies.

 * ![](https://ps.w.org/post-smtp/assets/icon-128x128.gif?rev=3209655)
 * [Post SMTP – Complete Email Deliverability and SMTP Solution with Email Logs, Alerts, Backup SMTP & Mobile App](https://wordpress.org/plugins/post-smtp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/post-smtp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/post-smtp/)
 * [Active Topics](https://wordpress.org/support/plugin/post-smtp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/post-smtp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/post-smtp/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Tim](https://wordpress.org/support/users/tneville/)
 * Last activity: [5 years, 2 months ago](https://wordpress.org/support/topic/ajax-error-with-php-8-gmail-api/#post-14283425)
 * Status: resolved