cancel
Showing results for 
Search instead for 
Did you mean: 

TinyMCE error after upgrade

SOLVED

TinyMCE error after upgrade

I'm getting a TinyMCE error on our admin site after upgrading from 2.2x to 2.3.5. Here are the errors I am seeing:

    static/version1599523842/adminhtml/Magento/backend/en_US/tinymce.js net::ERR_ABORTED 404

    1bf88a18ad7d25758b55791e3570de1a.js:166 Uncaught Error: Script error for: tinymce
http://requirejs.org/docs/errors.html#scripterror
    at makeError (1bf88a18ad7d25758b55791e3570de1a.js:166)
    at HTMLScriptElement.onScriptError (1bf88a18ad7d25758b55791e3570de1a.js:1681)

I've deployed the static content, I've cleared the cache, I've cleared all the magemojo cache (redis, varnish, etc...) but I still get this error. I've searched around the M2 forum and the github repo but am not having much luck locating why that file wouldn't be available. Instead of the tinymce.js file, I see a tiny_mce_4 folder in pub/static/adminhtml/Magento/backend/en_US

Any ideas what I may be missing here?

1 ACCEPTED SOLUTION

Accepted Solutions

Re: TinyMCE error after upgrade

Okay, so I was able to finally figure out what the issue was. I found that a module we had installed needed to be updated as it was using "tinymce". I found this by running the following command against our app/code folder:

grep -rnw 'app/code' -e 'tinymce'

Posting here in case anyone else runs into this issue.

View solution in original post

3 REPLIES 3

Re: TinyMCE error after upgrade

Hi @dmcdaniel12 

 

Run below command in magento root:

 

bin/magento setup:upgrade
bin/magento setup:static-content:deploy -f en_US

Hope it works!
Problem Solved ? Please click on 'Kudos' & Accept as Solution!

Problem solved? Click Accept as Solution!

Re: TinyMCE error after upgrade

Hi @dmcdaniel12 ,

 

Can you please try below commands

1.first try to disable versioning from static files

bin/magento config:set dev/static/sign <value>

Where <value> is 1 (enabled) or 0 (disabled).

2. rm -rf pub/static/adminhtml/*

3. bin/magento setup:upgrade

4. bin/magento setup:static-content:deploy -

 

Hope this helps you!

Problem Solved! Click Kudos & Accept as Solution!

 

Re: TinyMCE error after upgrade

Okay, so I was able to finally figure out what the issue was. I found that a module we had installed needed to be updated as it was using "tinymce". I found this by running the following command against our app/code folder:

grep -rnw 'app/code' -e 'tinymce'

Posting here in case anyone else runs into this issue.