• After upgrade to 4.2.2, toggle between text and visual editor tab is not working and even after upgrading to 4.2.3 didn’t help. I checked the error log found this kind of errors.

    WordPress database error Table ‘database.wp_wpeditor_settings’ doesn’t exist for query SELECT value from wp_wpeditor_settings where key=’wpeditor_logging’ made by require(‘wp-blog-header.php’), require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘init’), call_user_func_array, WPEditor->init, WPEditorSetting::getValue

    I repaired and optimized the database still same problem is there. I checked the console of firebug i am getting following error.

    editor-expand.min.js:1 Uncaught SyntaxError: Unexpected token !
    thickbox.js:42
    Uncaught SyntaxError: missing ) after argument list
    mediaelement-and-player.min.js:15
    Uncaught SyntaxError: Unexpected token !
    wp-mediaelement.js:4 Uncaught ReferenceError: mejs is not defined
    mce-view.min.js:1
    Uncaught SyntaxError: Unexpected token !
    measureIt.js:120 Uncaught TypeError: Cannot read property ‘create’ of undefined
    /wp-includes/js/tinymce/themes/modern/theme.min.js?wp-mce-4109-20150505:1 Uncaught SyntaxError: Unexpected token !
    /wp-includes/js/tinymce/plugins/wpautoresize/plugin.min.js?wp-mce-4109-20150505:1 Uncaught SyntaxError: Unexpected token !

    I noticed that most of the javascript files are not working. I have been struggling with error for a week and didn’t find any solution. Editor textarea hide after clicking on visual tab.

    I tried >> removed all plugins, checked with default themes, fresh installation of wordpress, added define(‘CONCATENATE_SCRIPTS’, false); in wp config file replace tinymnc.min.js with older version. Still didn’t solve my problem.

    Thank you

  • The topic ‘Switching between text and visual is not working’ is closed to new replies.