Home / Questions / Why does my WordPress site show a jQuery or JavaScript error?

Why does my WordPress site show a jQuery or JavaScript error?

JavaScript errors stop menus, sliders and forms from working. The console names the script, and a plugin update or a duplicate jQuery usually causes it.

A JavaScript error in WordPress often comes from a plugin or theme script that expects another script to load first. jQuery is common because many older plugins depend on it.

Find the script

  1. Open the page and press F12. Read the first red error in the console.
  2. Note the file name, which shows the plugin or theme.
  3. Turn off that plugin and test. If the error stops, update or replace it.

Do not remove jQuery from WordPress. Many themes need it. If a script loads jQuery twice, ask the developer to load it once.

For a clear answer on a specific error, contact us with the console message.

Ready to act on this?

Get a written review of your site, or send us your question and we will reply within 24 hours.

Related services

Not sure where your site stands?

Send us the details and we will reply within 24 hours with a clear next step.