Title: Fatal error: Cannot redeclare class OAuth2Client (Google+)
Last modified: April 28, 2017

---

# Fatal error: Cannot redeclare class OAuth2Client (Google+)

 *  [kffaner](https://wordpress.org/support/users/kffaner/)
 * (@kffaner)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-cannot-redeclare-class-oauth2client-google/)
 * I am getting the following error when trying to log in using gmail account. This
   is not happening to facebook or twitter login (although wordpress login option
   also gives this error). How do I fix it? Thanks for any suggestions. You can 
   see this live at [http://www.maacademyonline.com](http://www.maacademyonline.com)
 * Fatal error: Cannot redeclare class OAuth2Client in /home/content/a2pnexwpnas01_data01/
   64/4042464/html/wp-content/plugins/wordpress-social-login/hybridauth/Hybrid/thirdparty/
   OAuth/OAuth2Client.php on line 10

The topic ‘Fatal error: Cannot redeclare class OAuth2Client (Google+)’ is closed
to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wordpress-social-login_a1a2bc.svg)
 * [WordPress Social Login](https://wordpress.org/plugins/wordpress-social-login/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-social-login/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-social-login/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-social-login/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-social-login/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-social-login/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [kffaner](https://wordpress.org/support/users/kffaner/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-cannot-redeclare-class-oauth2client-google/)
 * Status: not resolved