Title: How to avoid error
Last modified: June 22, 2019

---

# How to avoid error

 *  Resolved [buildtech](https://wordpress.org/support/users/buildtech/)
 * (@buildtech)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/how-to-avoid-error/)
 * Hi,
    I have install it. Working well. Thanks How to avoid error? Uncaught ReferenceError:
   jQuery is not defined Regards, Sudhan.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fhow-to-avoid-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Thread Starter [buildtech](https://wordpress.org/support/users/buildtech/)
 * (@buildtech)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/how-to-avoid-error/#post-11662118)
 * refer [https://ibb.co/nb25t8W](https://ibb.co/nb25t8W)
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/how-to-avoid-error/#post-11662143)
 * excluding jQuery from JS optimization (and not asyncing it either)? 🙂
 *  Thread Starter [buildtech](https://wordpress.org/support/users/buildtech/)
 * (@buildtech)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/how-to-avoid-error/#post-11665895)
 * Hi,
    Thanks for your reply. Problem resolved. But speed is reduced 3%. Is this
   error reflects in seo.
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/how-to-avoid-error/#post-11665951)
 * Well, you have 3 possibilities;
    * exclude jQuery and live with the lower pagespeed
   score, which in itself does NOT impact SEO, but will make browsers wait to render
   your pages until jQuery is loaded, making “first paint” a bit slower * not exclude
   jQuery and let the error be (no idea if anything broke functionally) * not exclude
   jQuery and try to remove/ replace any plugin that needs jQuery early
 * hope this clarifies,
    frank

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

The topic ‘How to avoid 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/)

 * 4 replies
 * 2 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [6 years, 11 months ago](https://wordpress.org/support/topic/how-to-avoid-error/#post-11665951)
 * Status: resolved