WordPress 2.7 Visual Editor Problems?

This post won’t appeal to most of my usual readers, but this is to address a common problem that many are having with the new version of WordPress 2.7.

So, if you just upgraded, have you noticed that the Visual Editor no longer works and a lot of the javascript functions (ie, the drop down menus) on the left aren’t working? You aren’t alone. This has happened to a lot of people. If you use the Firefox Error Console, you’ll see the following:

The problem here is a simple matter of missing javascript that drives a lot of the WordPress backend. That includes jQuery, TinyMCE, Scriptaculous and some others. Your /wp-includes/js/ directory SHOULD look like this:

If your visual editor and other features are failing, then you are missing some of those JavaScript files. Simple as that. Re-download the WordPress .zip from WordPress.org and make sure all of those directories are properly populated on your web server.

Getting /jquery/ filled should fix a lot of things, but the /tinymce/ folder is the important one for your Visual Editor.

Good luck with WordPress 2.7.

24 thoughts on “WordPress 2.7 Visual Editor Problems?

  1. Stewart

    My visual editor seems to be doing the same thing, but I looked at the firefox error console and I’m not getting any jquery stuff. And when I compared my wp-includes/js files, I didn’t seem to be missing anything, but I do have a few extras, probably from different plugins.
    Any ideas?

    Thanks.

  2. Nat Post author

    Yes. I would start by deactivating any plugins like a TinyMCE advanced or anything that could mess with the editor. Then delete your entire wp-includes/js/ directory. Then repopulate it.

    Let me know how that goes.

  3. Stewart

    That seemed to do the trick. I had to run through the site and make sure there wasn’t anything out of the ordinary happening, but the visual editor seems to be back in action. I think the extra stuff I had in my js file might have been from old plugins that I deactivated or haven’t made use of in a long time.

    Thanks for the help!

  4. Lem

    Hey there thats a great post! :)

    I still think that WP people shouldve (maybe) thought of that instead of us having to re-install random plug-ins ;)

  5. Nat Post author

    Yea, it’s a bizarre problem. I can’t quite figure it out. I run a number of WP-driven sites and it only happened on some of them despite the fact that I was upgrading from the same WP zip. Not only that, some of them were EXACTLY the same plugin-wise!

    Like I said, I don’t know how it happened, but I do know that wiping out that dir and re-populating it seems to work for me.

  6. Adam Sicinski

    When you say delete your entire wp-includes/js/ directory. Then repopulate it. Do you actually mean delete everything within the js folder first, and then upload a fresh copy of the js folder files? I don’t know too much about these technical things, and I just want to make sure that it doesn’t break anything within WordPress. My js folder seems to contain all the same files. So I am also not sure if this will work for me personally.

    I appreciate you spending the time to help others resolve this issue. Thanks.

  7. Tony

    Hi,

    I have the same problem with the visual editor. For me, it’s the qTranslate plugin that causes the problem. I no longer have ‘Visual’ or ‘HTML’ tabs, I have only tabs for ‘English’ and ‘Francais’, the languages I support on my blog. The editor box comes up missing, with the ‘English’ tab selected. If I click the ‘Francis’ tab, I get the box just fine. Then I click the ‘English’ tab and that works too. Looks like a problem setting focus or something in the initialisation, I haven’t gotten to the bottom of it yet.

    Tony.

  8. Jon Soroko

    Any thoughts on how to do this – or if it’s wise -for those of us who install via our hosts? (In my case, Bluehost – using SimpleScripts and/or Fantastico for installs).

    Thanks for a very helpful post.

    Jon

  9. Nat Post author

    You still have FTP access and you still have the /wp-includes/js/ folder, so I would recommend doing this portion manually. It’s quite easy.

  10. Abbas

    I did disable all the plugins and it seems to work now, will have to go plugin by plugin to see what was the issue and will report back so others can learn!

  11. Abbas M.K.

    WP Decoratr was the cause of my misery, Probably does not support 2.7 fully, it works with the posts, but it has issues when editing pages.
    sadly that plugin was the last plugin in my long list of plugins to be checked for! GAH!

  12. Anne

    I just want to say THANK YOU! I am extremely new to the ins and outs of blog software and this problem has been plaguing me since I installed my blog 3 months ago. But this was my problem and now everything works perfectly. So, thank you very much!

  13. Austin

    I tried your fix, and it did not work, BUT…it led me to the fix for my particular case.

    In the same tree as the js directory is a ‘text’ folder, with a subfolder ‘diff’ and 2 more subfolders ‘renderer’ and ‘engine’. I noticed that in my *nonworking* installation the text folder was missing the subfolders for the renderer and engine, so I uploaded the main ‘text’ folder as well. That fixed the problem. Thanks so much for your help!!

  14. Eder Lima

    Hi folks!
    Eu have the same problem, one of the things that is directly cause of this problem is some plugins that increase buttons o tinymce, like DEVFORMATTER (developer formatter plugin).

    I solved this problem by deactivating all old (not updated) plugins that increase buttons on editor.

    Thanks for all e sorry by my bad english.
    Bye! ;)

  15. Gaurav

    The js way didn’t work for me but Installing the latest version of the Kimili Flash Embed (now at v 2.0) solved the problem for me.

    The comments on this post are seriously very helpful.

  16. Nat Post author

    Yea, it looks like it can be caused by various plugin conflicts as well. A lot of plugins that interacted with the editor seem to have caused problems.

    So if anyone out there is still have problems, deactivate any plugins that might be causing your visual editor to fail. Then upgrade them and reactivate.

  17. CDPoker Bonus

    Trying to update to 2.71. I get an error when I try to use the automatic update.

    Fatal error: Cannot redeclare pclziputilpathreduction()…that it is previously declared.

    I am hesitant to do a manual install. Has anyone else had this problem?

  18. Sheila

    Holy Cow, I’ve been up till 1:30AM trying to figure out what went wrong, and you helped me tremendously, thanks!!!! I was ready to reinstall my old vs. of wordpress.. and the JS directory and tinymce was the culprit, my eyes are bleary right now.
    Now I can sleep :)

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>