Support » Fixing WordPress » Visual Editor Broken

  • I cannot seem to be able to re-activate the Visual Editor on a client’s site and after using the debugging guidelines here and reading through several threads with similar issues, I still can’t track down the issue. I can still edit all pages and posts using the text editor and can still see the “Visual” button, but clicking on it does nothing. Here are the Javascript errors I’m seeing on the page:

    Uncaught SyntaxError: Unexpected token ILLEGAL post.php:792
    Uncaught SyntaxError: Unexpected token ILLEGAL post.php:1311
    Uncaught SyntaxError: Unexpected token ILLEGAL post.php:1387
    Uncaught TypeError: Cannot read property ‘canvas’ of undefined

    I HAVE tried all the normal debugging steps as outlined on the 3.5 master list including clearing all caching plugins, browser, and server cache, going back to both twenty eleven and twenty twelve themes, clearing all plugins (multiple times) and replacing all of the core files from a fresh “latest” download.

    I haven’t been able to get the button back, can you guys help me track down and fix these errors?

    Thank you in advance!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator t-p


    have you tried:

    Open wp-config.php and try adding the following line before “That’s all, stop editing! Happy blogging” Add this to your wp-config file (not the best solution, but now you may be able to use admin again): define(‘SCRIPT_DEBUG’, true);

    I’m sorry that I forgot to mention that I have actually tried that.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Visual Editor Broken’ is closed to new replies.