Title: Fatal error: Cannot redeclare google_api_php_client_autoload()
Last modified: December 29, 2016

---

# Fatal error: Cannot redeclare google_api_php_client_autoload()

 *  [alxbclrk](https://wordpress.org/support/users/alxbclrk/)
 * (@alxbclrk)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-cannot-redeclare-google_api_php_client_autoload/)
 * Hi Simple Calendar team,
 * I’ve found a plugin conflict with the Birchpress Scheduler plugin that hopefully
   can be corrected (I’m contacting the other developer as well). When both active
   I get a crashed site and this fatal error:
 * Fatal error: Cannot redeclare google_api_php_client_autoload() (previously declared
   in ###\wp-content\plugins\google-calendar-events\vendor\google\apiclient\src\
   Google\autoload.php:18) in ###\wp-content\plugins\birchschedule\lib\vendor\google\
   apiclient\autoload.php on line 31
 * But plugins work great on my site… just not simultaneously. Is there anything
   that can be done to fix this issue? I’ve love to use both.
 * Thank you.

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

 *  Plugin Contributor [Nick Young](https://wordpress.org/support/users/nickyoung87/)
 * (@nickyoung87)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-cannot-redeclare-google_api_php_client_autoload/#post-8626499)
 * I believe this is an issue with the Google API’s being of different versions.
   I will need to dig a bit further to let you know for sure.
 * Also, please let me know if you hear anything from their side.
 *  [uncwes](https://wordpress.org/support/users/uncwes/)
 * (@uncwes)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-cannot-redeclare-google_api_php_client_autoload/#post-8627523)
 * Just tried installing the calendar plugin and I’m getting a similar message.
 * Fatal error: Cannot redeclare google_api_php_client_autoload() (previously declared
   in /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/wd-google-analytics/
   google/autoload.php:18) in /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/
   google-calendar-events/vendor/google/apiclient/src/Google/autoload.php on line
   18
 *  Plugin Contributor [Nick Young](https://wordpress.org/support/users/nickyoung87/)
 * (@nickyoung87)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-cannot-redeclare-google_api_php_client_autoload/#post-8693694)
 * Hi please run through this to isolate what plugin/theme is causing the conflict:
 * [https://docs.simplecalendar.io/troubleshooting-theme-plugin-widget-conflicts/](https://docs.simplecalendar.io/troubleshooting-theme-plugin-widget-conflicts/)
 * Let me know what you find and we can work from there.
 * Thanks!
 *  [andyjwaller](https://wordpress.org/support/users/andyjwaller/)
 * (@andyjwaller)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-cannot-redeclare-google_api_php_client_autoload/#post-8732150)
 * I just had the same error when I tried installing the Simple Calendar plugin.
   I found this thread on the Birchpress site:
 * [https://www.birchpress.com/forums/topic/google-api-php-client-simple-calendar-plugin-composer-autloading-conflict](https://www.birchpress.com/forums/topic/google-api-php-client-simple-calendar-plugin-composer-autloading-conflict)
 * I’m glad the problem is acknowledged, but I still don’t have a solution.
 *  Plugin Contributor [Nick Young](https://wordpress.org/support/users/nickyoung87/)
 * (@nickyoung87)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-cannot-redeclare-google_api_php_client_autoload/#post-8735689)
 * Did you contact them as well? What did they tell you?
 *  [sgibson71](https://wordpress.org/support/users/sgibson71/)
 * (@sgibson71)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-cannot-redeclare-google_api_php_client_autoload/#post-8817592)
 * I can tell you I just got this error when I tried to install the latest download
   of the plugin Version 3.1.9 . Hope this can be resolved or if there is a fix 
   I’d really like to be able to use this great plugin.
    Thanks
 *  Plugin Contributor [Nick Young](https://wordpress.org/support/users/nickyoung87/)
 * (@nickyoung87)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-cannot-redeclare-google_api_php_client_autoload/#post-8858084)
 * I believe the issue here is that there are 2 different versions of the Google
   API being loaded so they conflict with each other. We do have this on our list
   to look at/test.

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

The topic ‘Fatal error: Cannot redeclare google_api_php_client_autoload()’ 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/)

## Tags

 * [conflict](https://wordpress.org/support/topic-tag/conflict/)
 * [Google API](https://wordpress.org/support/topic-tag/google-api/)

 * 7 replies
 * 5 participants
 * Last reply from: [Nick Young](https://wordpress.org/support/users/nickyoung87/)
 * Last activity: [9 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-cannot-redeclare-google_api_php_client_autoload/#post-8858084)
 * Status: not resolved