Title: JS Error
Last modified: October 21, 2020

---

# JS Error

 *  [DanielHPMD](https://wordpress.org/support/users/danielhpmd/)
 * (@danielhpmd)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/js-error-113/)
 * Hello,
 * I have a store plugin that I’m told is having a JS Error.
 * My webpage having an issue.
 * A JS error shows up in the browser console ( F12 ).
 * autoptimize_0ecdd12afaf9271b9394226737a73f17.js:410 Uncaught ReferenceError: 
   google is not defined
 * Is there any setting I can change to resolve this issue?
 * Thank you!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fjs-error-113%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/js-error-113/#post-13565684)
 * Morning Daniel;
    I just tested in Firefox & Chrome and see that error in neither,
   might you have fixed the problem already?
 * kind regards,
    frank
 *  Thread Starter [DanielHPMD](https://wordpress.org/support/users/danielhpmd/)
 * (@danielhpmd)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/js-error-113/#post-13568535)
 * Hello,
 * Nope. The error happens after you go to the page and do a search by zip code.
   After you type a zip code and hit search, you go to a blank page…
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/js-error-113/#post-13568635)
 * hmm, … based on the error mentioned in your original post, the issue might very
   well be due to Async Javascript which is asyncing the Google Maps JS. Can you
   retest with AsyncJS disabled?
 *  Thread Starter [DanielHPMD](https://wordpress.org/support/users/danielhpmd/)
 * (@danielhpmd)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/js-error-113/#post-13569807)
 * That appears to have fixed it blanking out. Can you test it again to verify that
   there are no more auto optimize errors. It’s still not working 100% (search by
   zip refreshing everything). Also, is it possbile to stop async javascript on 
   only one page?
 *  Thread Starter [DanielHPMD](https://wordpress.org/support/users/danielhpmd/)
 * (@danielhpmd)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/js-error-113/#post-13569832)
 * Nevermind, it’s still doing it. I turned off async, but didn’t disable the plugin.
   Should I disable it completely?
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/js-error-113/#post-13570591)
 * disable it for now maybe and make sure to clear your page cache(s)?
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/js-error-113/#post-13684222)
 * any news danielhpmd, were you able to get things going?

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

The topic ‘JS Error’ is closed to new replies.

 * ![](https://ps.w.org/autoptimize/assets/icon-256X256.png?rev=2211608)
 * [Autoptimize](https://wordpress.org/plugins/autoptimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autoptimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autoptimize/)
 * [Active Topics](https://wordpress.org/support/plugin/autoptimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autoptimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autoptimize/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [5 years, 6 months ago](https://wordpress.org/support/topic/js-error-113/#post-13684222)
 * Status: not resolved