
Do you get “jQuery is not defined” as an error after a fresh WordPress Install? JavaScript not working at your admin panel? Don’t worry, I have the solution.
After installing two new WordPress installations with defective admin JavaScript that won’t allow me to
- Open the menus (in the admin panel’s left side)
- See the post editors toolbar
- Install new plugins
- Install new themes
I understood I was having some kind problem with the Javascript jQuery library.
I deactivated all the plugins and nothing happened. Then I started looking at the source code and googeling for quite a long time. After some serious research I discovered what caused the issue.
The Problem
While uploading the WordPress installation files onto the server I had some issues that cause some of the JavaScript files to not be uploaded / be corrupted.
The Solution

Re upload the wp-includes\js folder and overwrite whatever is in there.
That’s what fixed it for me.
I hope this helped someone, if it does, or does not – comment to help or get help.
Related posts
- WordPress 2.8 Beta 2
- WordPress 2.8.1 is out
- FileZilla vs. FlashFXP
- WordPress 2.8 Beta 1
- WordPress Templates Complete Guide & Tips
Comments
Leave a Reply
Gary (1 comments) on 10.15.2009
I had a nice ajax slideshow (jd slideshow) working on my site until I installed some new ajax plugins. I don’t know which one broke the slideshow. I didn’t notice until later.
I de-activated the new plugins.
I re-uploaded the wp-includes/js folder contents but slideshow still broken.
Firefox error console lists jQuery not defined and addLoadEvent not defined.
The addLoadEvent is what starts the slideshow. No other errors.
All the other wp functions are still working fine.
Bob Weber (1 comments) on 12.06.2009
I was having the same problem. Mine had to do with permissions on the .htaccess file. I’m not 100% sure why that fixed it, but the permissions were wrong, I set them to 666 and my JQuery error went away.
HoneyBee (1 comments) on 02.07.2010
How do I re upload wp-includes\js please?