#37845 closed defect (bug) (invalid)
Can't edit posts anymore after updating my
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | 4.6 |
| Component: | General | Keywords: | |
| Focuses: | ui, javascript, administration, template | Cc: |
Description
I get an error in firebug console after the wordpress update and I can't edit my posts anymore.
The error looks like:
Deprecated TinyMCE API call: <target>.onSaveContent.add(..)
TypeError: this.getDoc(...) is undefined
| this.getDoc().body},convertURL:function(e... |
wp-tiny...0160726 (line 12, col 26948)
I have lots of plugins installed including Advance Custom Fields, Tinymce Advanced or Easyrecipes. What I noticed that if I deactivate either ACF or Easyrecipes it works again with a small difference. When I deactivate ACF I still get Deprecated TinyMCE API call: <target>.onSaveContent.add(..) error but when I deactive only Easyrecipes I won't get any error at all. But in both cases it works to edit my posts.
Before this wp update to 4.6 everything was perfect. Anybody can help with this please ?
The line
Deprecated TinyMCE API call: <target>.onSaveContent.add(..)is just a warning. It means you are using a WordPress plugin that either hasn't been updated in couple of years or is still using ancient TinyMCE API calls. These were removed when we updated TinyMCE in WordPress 3.9!The actual error is
TypeError: this.getDoc(...) is undefined. Sounds like the error comes from Easyrecipes and may have been triggered by a change in ACF. Please contact the Easyrecipes authors and ask them to update their plugin :)It also sounds like the same plugin causes the deprecated warning. Using that super outdated compatibility mode is bound to cause errors at some point. That was added just to give plugin authors ample time to update their plugins. Still using it two and a half years later is...
Closing this as it is caused by a plugin.