Title: javascript error: google is not defined
Last modified: December 6, 2019

---

# javascript error: google is not defined

 *  [gelform](https://wordpress.org/support/users/gelform/)
 * (@gelform)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/javascript-error-google-is-not-defined-2/)
 * I’m getting multiple javascript errors on admin page loads:
    Uncaught ReferenceError:
   google is not defined (screenshot [https://prnt.sc/pqnzav](https://prnt.sc/pqnzav))
 * Which is coming from your file seriously-simple-stats/php/classes/class-ssp-stats.
   php file (screenshot [https://prnt.sc/pqnwvf](https://prnt.sc/pqnwvf) )
 * I do not get the error on the stats page: /wp-admin/edit.php?post_type=podcast&
   page=podcast_stats
 * It looks like you’re attempting to draw the chart on every page but you’re not
   loading the Google chart library on every page.
 * Let me know if you need more details to fix. Thanks!
 * Corey
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fjavascript-error-google-is-not-defined-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Łukasz](https://wordpress.org/support/users/lrynek/)
 * (@lrynek)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/javascript-error-google-is-not-defined-2/#post-12359683)
 * [@gelform](https://wordpress.org/support/users/gelform/) I already made a fix
   for the error, as I’ve experienced it as well:
    [https://github.com/TheCraigHewitt/Seriously-Simple-Stats/pull/63](https://github.com/TheCraigHewitt/Seriously-Simple-Stats/pull/63)
   It’s waiting for plugin maintainers’ code review.
 *  Thread Starter [gelform](https://wordpress.org/support/users/gelform/)
 * (@gelform)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/javascript-error-google-is-not-defined-2/#post-12361796)
 * Awesome. Thank you. I’ll upvote it or something 🙂
 *  Plugin Author [Craig Hewitt](https://wordpress.org/support/users/podcastmotor/)
 * (@podcastmotor)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/javascript-error-google-is-not-defined-2/#post-12372057)
 * Thank you both for the info and updates. We’ll be getting a release for the plugin
   out in the next week or two.
 * In the meantime, if there’s anything else we can do to help just let us know.

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

The topic ‘javascript error: google is not defined’ is closed to new replies.

 * ![](https://ps.w.org/seriously-simple-stats/assets/icon-256x256.png?rev=1286945)
 * [Seriously Simple Stats](https://wordpress.org/plugins/seriously-simple-stats/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/seriously-simple-stats/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/seriously-simple-stats/)
 * [Active Topics](https://wordpress.org/support/plugin/seriously-simple-stats/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/seriously-simple-stats/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/seriously-simple-stats/reviews/)

## Tags

 * [javascript](https://wordpress.org/support/topic-tag/javascript/)

 * 3 replies
 * 3 participants
 * Last reply from: [Craig Hewitt](https://wordpress.org/support/users/podcastmotor/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/javascript-error-google-is-not-defined-2/#post-12372057)
 * Status: not resolved