Title: errors setting api key
Last modified: May 10, 2017

---

# errors setting api key

 *  Resolved [mnewing](https://wordpress.org/support/users/mnewing/)
 * (@mnewing)
 * [9 years ago](https://wordpress.org/support/topic/errors-setting-api-key/)
 * Simple Calendar version 3.1.9.
    PHP version 7.1.4
 * I have added simple calendar to a new install of WP and when i try to add the
   api key i get the warning messages and the key is not saved. I am bit puzzled
   because i had this working no problems yesterday on a different installation.
 * I have added and activated the plugin. Gone to settings, pasted my API key copied
   over Google console and saved.
 * Suggestions gratefully received because i liked this plugin and would like to
   use it.
 * Here are the messages that i am getting:
 * Warning: Illegal string offset ‘google’ in xxx/wp-content/plugins/google-calendar-
   events/includes/abstracts/admin-page.php on line 186
 * Warning: Cannot modify header information – headers already sent by (output started
   at xxx/wp-content/plugins/google-calendar-events/includes/abstracts/admin-page.
   php:186) in xxx/wp-includes/pluggable.php on line 1195

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

 *  Plugin Contributor [Nick Young](https://wordpress.org/support/users/nickyoung87/)
 * (@nickyoung87)
 * [9 years ago](https://wordpress.org/support/topic/errors-setting-api-key/#post-9168322)
 * The plugin is not compatible with PHP 7.1.x at this time. So the solution (for
   right now) is to use something like PHP 7.0.x until we can get the necessary 
   changes in.
 *  [justinvdhoek](https://wordpress.org/support/users/justinvdhoek/)
 * (@justinvdhoek)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/errors-setting-api-key/#post-9208694)
 * [@nickyoung87](https://wordpress.org/support/users/nickyoung87/)
    Any date for
   this fix?

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

The topic ‘errors setting api key’ 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/)

 * 2 replies
 * 3 participants
 * Last reply from: [justinvdhoek](https://wordpress.org/support/users/justinvdhoek/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/errors-setting-api-key/#post-9208694)
 * Status: resolved