Is anyone familiar with this error? It is causing TinyMCE to break in my Wordpress theme.

In console it gives me these two errors both seem to originate from wp-admin/post-new.php

> 
> Uncaught ReferenceError:switchEditors is not defined
> 
> 
> Uncaught TypeError: undefined is not a function /wp-admin/load-scripts.php?c=0&load%5B%5D=hoverIntent,…editor,quickt&load%5B%5D=ags,wplink,wp-fullscreen,media-upload&ver=3.9.1:2
> 
> 
> 

![enter image description here](https://i.stack.imgur.com/p3rLM.png)

Both the Visual and Smart tabs break, becoming unclickable, and the TinyMCE toolbar disappears.
['https://wordpress.stackexchange.com/questions/149106', 'https://wordpress.stackexchange.com', 'https://wordpress.stackexchange.com/users/45362/']
it might me entirely different solution that i am providing but it solved the problem for me.

I followed these steps:

1. Open the user that is getting error. (Wordpress admin menu > users > your profile)
2. Changed the setting of "Disable the visual editor when writing" and saved the settings
3. Again disabled this feature and saved the settings
4. Boom. my editor is back.

Maybe it could solve someone else problem.

Regards,

Rao
This fixed my issue - I added this line to the bottom of wp-config.php and BOOM!

define('CONCATENATE\_SCRIPTS', false);