Title: Uncaught ReferenceError: jQuery is not defined
Last modified: August 30, 2016

---

# Uncaught ReferenceError: jQuery is not defined

 *  [stueynet](https://wordpress.org/support/users/stueynet/)
 * (@stueynet)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/uncaught-referenceerror-jquery-is-not-defined-2/)
 * The plugin loads calls to jQuery inline within the body wherever the form is 
   to appear. Problem with this is that often WordPress loads jQuery in the bottom
   of the body. So this throws an error because when the plugin’s code shows up,
   jQuery has yet to be defined.
 * This can be fixed in content-protector/screens/access_form.php (line 41) by enqueuing
   that script in the footer and make it dependant on ‘jquery’.
 * [https://wordpress.org/plugins/content-protector/](https://wordpress.org/plugins/content-protector/)

The topic ‘Uncaught ReferenceError: jQuery is not defined’ is closed to new replies.

 * ![](https://ps.w.org/content-protector/assets/icon-256x256.png?rev=2206760)
 * [Passster - Password Protect Pages and Content](https://wordpress.org/plugins/content-protector/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/content-protector/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/content-protector/)
 * [Active Topics](https://wordpress.org/support/plugin/content-protector/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/content-protector/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/content-protector/reviews/)

## Tags

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

 * 0 replies
 * 1 participant
 * Last reply from: [stueynet](https://wordpress.org/support/users/stueynet/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/uncaught-referenceerror-jquery-is-not-defined-2/)
 * Status: not resolved