title: Why is my WordPress visual editor not working?
body: <p>I have website running WordPress 4.6.2 and I can't use the visual editor right now, only the text editor. When I open the browser console it show various errors.</p>
  
  <p>I've been working on this problem for a good few hours and tried:</p>
  
  <ul>
  <li>restoring WordPress</li>
  <li>deactivating plugins</li>
  <li>deactivate the custom CSS used in the site </li>
  <li>Looking for <code>can_compress_scripts</code> in the DB and all various stuff that I stumble upon internet but with no success whatsoever</li>
  <li>Used theme is Spacious</li>
  <li>Include <code>define('CONCATENATE_SCRIPTS', false);</code> into wp-config.php</li>
  <li>Replaced TinyMCE folder content with TinyMCE content from clear installation</li>
  <li>A screenshot of the error from my web browser's console (below):
  <a href="https://i.stack.imgur.com/eUPaC.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/eUPaC.jpg" alt="Error from my web browser&#39;s console"></a></li>
  </ul>