Title: Warning: Cannot declare class Google_Client
Last modified: March 31, 2022

---

# Warning: Cannot declare class Google_Client

 *  Resolved [Eastern Watersports](https://wordpress.org/support/users/kbdiverservices/)
 * (@kbdiverservices)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/warning-cannot-declare-class-google_client-2/)
 * Warning: Cannot declare class Google_Client, because the name is already in use
   in /home/easternwatersports/public_html/wp-content/plugins/wp-staging/vendor_wpstg/
   google/apiclient/src/aliases.php on line 12 Warning: Cannot declare class Google_Service,
   because the name is already in use in /home/easternwatersports/public_html/wp-
   content/plugins/wp-staging/vendor_wpstg/google/apiclient/src/aliases.php on line
   12 Warning: Cannot declare class Google_AccessToken_Revoke, because the name 
   is already in use in /home/easternwatersports/public_html/wp-content/plugins/
   wp-staging/vendor_wpstg/google/apiclient/src/aliases.php on line 12 Warning: 
   Cannot declare class Google_AccessToken_Verify, because the name is already in
   use in /home/easternwatersports/public_html/wp-content/plugins/wp-staging/vendor_wpstg/
   google/apiclient/src/aliases.php on line 12 Warning: Cannot declare class Google_Model,
   because the name is already in use in /home/easternwatersports/public_html/wp-
   content/plugins/wp-staging/vendor_wpstg/google/apiclient/src/aliases.php on line
   12 Warning: Cannot declare class Google_Utils_UriTemplate, because the name is
   already in use in /home/easternwatersports/public_html/wp-content/plugins/wp-
   staging/vendor_wpstg/google/apiclient/src/aliases.php on line 12 Warning: Cannot
   declare class Google_AuthHandler_Guzzle6AuthHandler, because the name is already
   in use in /home/easternwatersports/public_html/wp-content/plugins/wp-staging/
   vendor_wpstg/google/apiclient/src/aliases.php on line 12 Warning: Cannot declare
   class Google_AuthHandler_Guzzle7AuthHandler, because the name is already in use
   in /home/easternwatersports/public_html/wp-content/plugins/wp-staging/vendor_wpstg/
   google/apiclient/src/aliases.php on line 12 Warning: Cannot declare class Google_AuthHandler_Guzzle5AuthHandler,
   because the name is already in use in /home/easternwatersports/public_html/wp-
   content/plugins/wp-staging/vendor_wpstg/google/apiclient/src/aliases.php on line
   12 Warning: Cannot declare class Google_AuthHandler_AuthHandlerFactory, because
   the name is already in use in /home/easternwatersports/public_html/wp-content/
   plugins/wp-staging/vendor_wpstg/google/apiclient/src/aliases.php on line 12 Warning:
   Cannot declare class Google_Http_Batch, because the name is already in use in/
   home/easternwatersports/public_html/wp-content/plugins/wp-staging/vendor_wpstg/
   google/apiclient/src/aliases.php on line 12 Warning: Cannot declare class Google_Http_MediaFileUpload,
   because the name is already in use in /home/easternwatersports/public_html/wp-
   content/plugins/wp-staging/vendor_wpstg/google/apiclient/src/aliases.php on line
   12 Warning: Cannot declare class Google_Http_REST, because the name is already
   in use in /home/easternwatersports/public_html/wp-content/plugins/wp-staging/
   vendor_wpstg/google/apiclient/src/aliases.php on line 12 Warning: Cannot declare
   interface Google_Task_Retryable, because the name is already in use in /home/
   easternwatersports/public_html/wp-content/plugins/wp-staging/vendor_wpstg/google/
   apiclient/src/aliases.php on line 12 Warning: Cannot declare class Google_Task_Exception,
   because the name is already in use in /home/easternwatersports/public_html/wp-
   content/plugins/wp-staging/vendor_wpstg/google/apiclient/src/aliases.php on line
   12 Warning: Cannot declare class Google_Task_Runner, because the name is already
   in use in /home/easternwatersports/public_html/wp-content/plugins/wp-staging/
   vendor_wpstg/google/apiclient/src/aliases.php on line 12 Warning: Cannot declare
   class Google_Collection, because the name is already in use in /home/easternwatersports/
   public_html/wp-content/plugins/wp-staging/vendor_wpstg/google/apiclient/src/aliases.
   php on line 12 Warning: Cannot declare class Google_Service_Exception, because
   the name is already in use in /home/easternwatersports/public_html/wp-content/
   plugins/wp-staging/vendor_wpstg/google/apiclient/src/aliases.php on line 12 Warning:
   Cannot declare class Google_Service_Resource, because the name is already in 
   use in /home/easternwatersports/public_html/wp-content/plugins/wp-staging/vendor_wpstg/
   google/apiclient/src/aliases.php on line 12 Warning: Cannot declare class Google_Exception,
   because the name is already in use in /home/easternwatersports/public_html/wp-
   content/plugins/wp-staging/vendor_wpstg/google/apiclient/src/aliases.php on line
   12
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwarning-cannot-declare-class-google_client-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Rene Hermenau](https://wordpress.org/support/users/renehermi/)
 * (@renehermi)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/warning-cannot-declare-class-google_client-2/#post-15514172)
 * Hi please contact us at support (at) wp-staging.com and we are going to send 
   you a hotfix version.
 *  Thread Starter [Eastern Watersports](https://wordpress.org/support/users/kbdiverservices/)
 * (@kbdiverservices)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/warning-cannot-declare-class-google_client-2/#post-15514239)
 * Done
 *  [deindorfleben](https://wordpress.org/support/users/deindorfleben/)
 * (@deindorfleben)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/warning-cannot-declare-class-google_client-2/#post-15515306)
 * Hi suport team,
 * same issue for us, how to fix it or when will there be the new version?
 * Thank you and best regards
    Christian
 *  Plugin Author [Rene Hermenau](https://wordpress.org/support/users/renehermi/)
 * (@renehermi)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/warning-cannot-declare-class-google_client-2/#post-15515555)
 * [@deindorfleben](https://wordpress.org/support/users/deindorfleben/) [@kbdiverservices](https://wordpress.org/support/users/kbdiverservices/)
   It has been fixed. We’ve already released a new version. I am sorry about any
   inconvenience.
 * René
 *  [deindorfleben](https://wordpress.org/support/users/deindorfleben/)
 * (@deindorfleben)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/warning-cannot-declare-class-google_client-2/#post-15519540)
 * Great, it works.
    Thank you for your fast support!

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

The topic ‘Warning: Cannot declare class Google_Client’ is closed to new replies.

 * ![](https://ps.w.org/wp-staging/assets/icon-256x256.png?rev=2972932)
 * [WP STAGING - WordPress Backup, Restore & Migration](https://wordpress.org/plugins/wp-staging/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-staging/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-staging/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-staging/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-staging/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-staging/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [deindorfleben](https://wordpress.org/support/users/deindorfleben/)
 * Last activity: [4 years, 2 months ago](https://wordpress.org/support/topic/warning-cannot-declare-class-google_client-2/#post-15519540)
 * Status: resolved