• Hi all,

    Okay, I’ve spent a day on this puppy. Here’s what I’ve done, to no avail:

    • Created test version of site.
    • Removed (removed) all plugins
    • Switched to twentyfourteen theme
    • tested JS errors in console. Result:
      Use of getUserData() or setUserData() is deprecated.  Use WeakMap or element.dataset instead. requestNotifier.js:63
      "JQMIGRATE: Logging is active" jquery-migrate.js:21
      "Failed to load: http://francoiseweeks.com/dbtest/wp-includes/js/tinymce/plugins/wordpress/plugin.js" tinymce.min.js:4
      Use of getPreventDefault() is deprecated.  Use defaultPrevented instead.
    • Tried to manually upgrade tinyMCE, but just ended up breaking it worse. I made sure all the plugins were copied over from WordPress 3.9.1, but it still said it couldn’t find a bunch of files that were actually there.
    • Wondering if it’s somehow a database problem, because the problem wasn’t occurring on an older copy of my db on my staging site

    Any help would be greatly appreciated.

    Thanks very much.

Viewing 15 replies - 1 through 15 (of 20 total)
  • Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    Try downloading WordPress again and delete then replace your copies of everything except the wp-config.php file and the /wp-content/ directory with fresh copies from the download. This will effectively replace all of your core files without damaging your content and settings. Some uploaders tend to be unreliable when overwriting files, so don’t forget to delete the original files before replacing them.

    Thread Starter quoindesign

    (@quoindesign)

    Sorry, forgot to mention I’ve done that twice already, before I tried to reinstall tinyMCE.

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    From where and how did you try to reinstall tinyMCE separately?

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    Thread Starter quoindesign

    (@quoindesign)

    Hi MacManX,

    Thanks for your help. It appears that I’ve performed all of those steps:

    • Removed all plugins
    • Switched to twentyforteen theme
    • Manual clean install of all WP files
    • Cleaned cache and Refreshed browser

    But I’m still receiving the JS error I mentioned before.

    I see I failed to mention that I turned on SCRIPT_DEBUG. Does that help?

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    Ah, it does, yes. Scripts can throw the most terrifying errors which are actually often inconsequential (it’s a fun troubleshooting nightmare).

    Are you having any trouble at all with using TinyMCE, or is it just the error that concerns you? If you are having trouble, would you please describe the problem?

    Thread Starter quoindesign

    (@quoindesign)

    tinyMCE is completely missing. No buttons, no editor window. Here’s a screenshot.

    So the JS bug may be a red herring?

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    Possibly, though maybe not.

    Have you tried with all of your browser extensions disabled? I have seen ad blockers mistakingly block TinyMCE before.

    Thread Starter quoindesign

    (@quoindesign)

    Just turned off all extensions in FF. No change.

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    Ok, just to give some extra bit of confirmation, do you see the same issue in other browsers, like Safari, Chrome, or IE? (whichever you have available)

    Thread Starter quoindesign

    (@quoindesign)

    The only one of those I haven’t checked is Safari. I just checked it and it’s not working there, either.

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    Well, I’m fresh out of ideas. Are you absolutely sure that you disabled plugins, switched the theme to Twenty Fourteen, and replaced all core files? Maybe try all that again.

    I have several sites at the moment on 3.9.1, none with the problem you’ve shown, and none with the error you quoted.

    99% of the time, it’s a plugin or theme functions conflict, 1% of the time it’s core file corruption, and I have never seen anything else in the last 10 years of doing this. :/

    That happenes 9 times out of 10, when there is a javascript conflict and tinyMCE is unable to initialize itself.

    I’ve run into this problem so many times when developing custom functionality for clients.

    Can you check your JavaScript console for any errors?

    Also, are you 100% certain that you have all plugins deactivated, and you’ve switched to a theme such as twenty fourteen? (you need to do them both together, not one or the other)

    Thread Starter quoindesign

    (@quoindesign)

    Yes, I’ve just checked and I have no plugins even installed. They’ve been moved to another folder for the moment. I have switched to twentyforteen, also. I can tell because the site is looking very ugly ATM.

    @evan: I put the JS error I’m getting in my first post. Here it is again:

    Use of getUserData() or setUserData() is deprecated.  Use WeakMap or element.dataset instead. requestNotifier.js:63
    "JQMIGRATE: Logging is active" jquery-migrate.js:21
    "Failed to load: http://francoiseweeks.com/dbtest/wp-includes/js/tinymce/plugins/wordpress/plugin.js" tinymce.min.js:4
    Use of getPreventDefault() is deprecated.  Use defaultPrevented instead.

    For a third time I replace the core files, manually (everything execpt wp-config.php and wp-uploads. No dice.

    Thanks for your help!

    Here is a post with your exact issues.

    http://wordpress.org/support/topic/problem-with-repeatable-fields?replies=18

    Have you tried other browsers? Have you tried disabling browser extensions (adblock)?

Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘tinyMCE broken – Fails to load necessary file’ is closed to new replies.