WordPress.org

Ready to get started?Download WordPress

Forums

Visual Editor Broken (3 posts)

  1. mikeselander
    Member
    Posted 1 year ago #

    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!

  2. Tara
    Member
    Posted 1 year ago #

    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);

  3. mikeselander
    Member
    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic