If you’re seeing the ‘jQuery is not defined’ error in your WordPress admin area (or elsewhere), don’t worry – you’re not alone. This is a common issue that many WordPress users encounter. That said, it can be frustrating when your site doesn’t work as expected.
We’ve been working with WordPress for well over a decade, and during that time, we’ve learned how to troubleshoot and resolve some of the most common WordPress errors. That includes the ‘jQuery is not defined’ error.
In this guide, we’ll discuss why this error occurs and, more importantly, how to fix it. We’ll explain everything in simple terms, so even if you’re not a developer, you’ll be able to follow along and resolve the problem quickly.
What Causes the ‘jQuery is not defined’ Error?
jQuery is a widely used JavaScript library in WordPress that helps run many interactive features. However, sometimes, it may fail to load correctly, which could affect the functionality of your website.
The error appears in the developer tools under the Console tab, so many users may not notice it until something breaks on their site.
All of these issues can prevent jQuery from running smoothly. But don’t worry – with our experience, we can guide you through the solutions to resolve the problem.
How to Fix the ‘jQuery is not defined’ Error
There are several ways to fix this error when you encounter it. Below are the most effective methods we’ve used to fix this problem.
We recommend trying out these strategies in order, but you can use the jump links below if you’d like to start with a particular one:
We’ll go over each of these methods and then provide you with some extra resources for troubleshooting WordPress errors. Let’s get to it!
1. Update WordPress, Themes, and Plugins
Outdated software is one of the most common causes of the ‘jQuery is not defined’ error. Outdated themes or plugins may not be compatible with the latest version of WordPress, which can result in script conflicts. To fix this:
First, ensure that your WordPress core is updated. Navigate to Dashboard » Updates and click ‘Update to version X.X.X’ if an update is available.
safely updating WordPress to a new version for more details.
Your WordPress plugin updates will be listed below the core update.
You can select all of them and click ‘Update Plugins.’
Related: How to Properly Update WordPress Plugins (Step by Step)
update your WordPress theme without losing customizations.
 100vw, 680px” /></figure>
<p>Next, press Ctrl +F (or Cmd + F on Mac) to bring up the search bar, and type ‘jquery.min.js.’</p>
<p>If jQuery is loaded correctly, you should see a reference to it in the code.</p>
<figure class=)
Inspect Tool. Simply go to the ‘Network’ tab and reload the page.
3. Add a jQuery Fallback


 100vw, 680px” /></figure>
<p>Finally, click the ‘Save Snippet’ button at the top to save your custom code.</p>
<p>After that, don’t forget to activate the snippet by switching the toggle to ‘Active.’</p>
<figure class=)

5. Edit wp-config.php to Fix jQuery Loading Issues
Bonus Resources: Troubleshooting WordPress Errors



