Title: Java script error (tinymce is not defined)
Last modified: May 31, 2017

---

# Java script error (tinymce is not defined)

 *  Resolved [Luis](https://wordpress.org/support/users/artismir/)
 * (@artismir)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/java-script-error-tinymce-is-not-defined/)
 * By updating WordPress from 4.6-it_IT to 4.7-it_IT I got a Java script error (
   tinymce is not defined). When I edit a page, the visual editor button doesn’t
   work. In the text editor the text area is too narrow.
    I tried to solve the issue
   myself (with the help of WP-Forum). Since I am not a java programmer, I have 
   waited for new WP versions. I tried to get help from the support staff of SiteGround,
   Elementor Pro and Yoast SEO Premium. They all came to the same conclusion: it
   is a WP-core problem and they don’t want to manage it. Following the suggestions
   of WP-forum I have already: – checked that no administrator has the Visual Editor
   deactivated – added “define(‘CONCATENATE_SCRIPTS’, false);” to the wp-config.
   php file. – deactivated all plugins – changed the theme to 2017 – removed CloudFlare–
   removed WordFence – installed the Google Library plugin (and then removed) – 
   manually updated wp-includes, wp-admin, wp-content, wp-config-sample.php and,
   after that, re-installed wp 4.7.5–it_IT My site is: [https://www.osservatoriointeriore.com/](https://www.osservatoriointeriore.com/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Moderator [Jose Castaneda](https://wordpress.org/support/users/jcastaneda/)
 * (@jcastaneda)
 * THEME COFFEE MONKEY
 * [8 years, 10 months ago](https://wordpress.org/support/topic/java-script-error-tinymce-is-not-defined/#post-9195981)
 * Hi there [@artismir](https://wordpress.org/support/users/artismir/)
 * This is just screaming randomness to me. I’ve been scratching my head for the
   last several hours trying to think a little outside of the box here to troubleshoot
   and get a better idea of not only how to replicate this but what could be causing
   it.
 * One of the things that jumped at me was server cache. What I’m wondering at the
   moment is what would happen if you used a different language?
 *  Thread Starter [Luis](https://wordpress.org/support/users/artismir/)
 * (@artismir)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/java-script-error-tinymce-is-not-defined/#post-9226860)
 * Thanks Jose for having tried to solve my problem.
    Meanwhile the problem has 
   already been solved by putting this script in the .htaccess file:
 * <FilesMatch “\.js$”>
    SetHandler application/x-httpd-php Header set Content-type“
   application/javascript” </FilesMatch>

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Java script error (tinymce is not defined)’ is closed to new replies.

## Tags

 * [Java script error](https://wordpress.org/support/topic-tag/java-script-error/)
 * [tinymce](https://wordpress.org/support/topic-tag/tinymce/)
 * [visual editor](https://wordpress.org/support/topic-tag/visual-editor/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [Luis](https://wordpress.org/support/users/artismir/)
 * Last activity: [8 years, 10 months ago](https://wordpress.org/support/topic/java-script-error-tinymce-is-not-defined/#post-9226860)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
