Title: Visual Tab Broken
Last modified: December 18, 2021

---

# Visual Tab Broken

 *  [andyt1980](https://wordpress.org/support/users/andyt1980/)
 * (@andyt1980)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/visual-tab-broken/)
 * Hi,
    The moderator on the main WordPress Forums recommended I post my issue here.
   I’m having a real nightmare trying to debug an issue on a WordPress Woocommerce
   website. At some point the Visual Editor tab on the classic editor on both pages
   and Woocommerce Products has stopped working. I’ve tried all the obvious fixes
   including the following:
 * – Deactivating all plugins and switching to Twenty Twenty Theme
    – Checking profile
   setting ‘disable visual editor’ is unchecked (have also tried checking/unchecking)–
   Adding the line define(‘CONCATENATE_SCRIPTS’, false ); to wp-config – Reuploading
   the tinymce folder to the wp-includes/js directory – Reinstalling WordPress –
   Installing the Advanced Tiny MCE plugin
 * In the browser console it shows the following error:
 * Uncaught SyntaxError: Invalid or unexpected token
    post.php?post=23835&action
   =edit:2429 Uncaught ReferenceError: tinyMCEPreInit is not defined at post.php?
   post=23835&action=edit:2429 at post.php?post=23835&action=edit:2437 2post.php?
   post=23835&action=edit:2392 Uncaught ReferenceError: tinyMCEPreInit is not defined
   at HTMLDocument.initialize (post.php?post=23835&action=edit:2392) 8editor.min.
   js?ver=5.8.2:2 Uncaught TypeError: Cannot read properties of undefined (reading‘
   mceInit’) at n (editor.min.js?ver=5.8.2:2) at HTMLDocument.<anonymous> (editor.
   min.js?ver=5.8.2:2) at C (tinymce.min.js?ver=49110-20201110:2) at HTMLDocument.
   d (tinymce.min.js?ver=49110-20201110:2)
 * Any further help would be greatly appreciated.
 * Update: I have recently found a partial solution. By resetting the wp_options
   table this fixes the Visual Tab. However, this is not an ideal solution as it
   will mean re-configuring alot of plugins. Is there anything specific I could 
   check in that table that could be effecting the editor?

The topic ‘Visual Tab Broken’ is closed to new replies.

 * ![](https://ps.w.org/tinymce-advanced/assets/icon-256x256.png?rev=971511)
 * [Advanced Editor Tools](https://wordpress.org/plugins/tinymce-advanced/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tinymce-advanced/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tinymce-advanced/)
 * [Active Topics](https://wordpress.org/support/plugin/tinymce-advanced/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tinymce-advanced/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tinymce-advanced/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [andyt1980](https://wordpress.org/support/users/andyt1980/)
 * Last activity: [4 years, 5 months ago](https://wordpress.org/support/topic/visual-tab-broken/)
 * Status: not resolved