Visual editor not showing in 3.5.1 (5 posts)

  1. titanit
    Posted 3 years ago #

    Getting this error in the java script console in Chrome when trying to edit a page:

    Uncaught ReferenceError: switchEditors is not defined post.php:280

    The visual editor does not work, neither does the add media button. I've tried adding:

    define('SCRIPT_DEBUG', true);
    define( 'CONCATENATE_SCRIPTS', false );

    to my wp-config file, this did not help. I've tried disabling all plugins, this did not help. Any suggestions?

  2. esmi
    Forum Moderator
    Posted 3 years ago #

    Have you tried:

    - switching to the default theme to rule out any theme-specific problems.

    - resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.

    - re-uploading all files & folders - except the wp-content folder - from a fresh download of WordPress. Make sure that you delete the old copies of files & folder before uploading the new ones.

  3. Webburr
    Posted 3 years ago #

    i am also facing the same problem

  4. esmi
    Forum Moderator
    Posted 3 years ago #

    @Webburr: As per the Forum Welcome, please post your own topic. Posting in an existing topic prevents us from being able to track issues by topic. Added to which, your problem - despite any similarity in symptoms - is likely to be completely different.

  5. titanit
    Posted 3 years ago #


    I ended up having to re-install a fresh WP core installation, and then upload my backup of the wp-content folder and import my old DB file (phpMyAdmin), and then my visual editor came back.

Topic Closed

This topic has been closed to new replies.

About this Topic