• Resolved simon696

    (@simon696)


    On my WP multisite I have a plugin that days ago it did work but not now, indeed on dashboard when I press the form button “save settings”, from chrome console I get “Uncaught ReferenceError: tinyMCE is not defined”.
    Ok so the problem could be another plugin that interferes with this one and the possible solution could be deactivate all plugins and reactivate one by one until find out which one interferes…but it’s a good solution? Is there a possibilty to simply adjust the plugin that doesn’t work instead of deactivate others?
    these are my errors:

    t.getFormParams
        (anonymous function)
        m.event
        r.handle

    and this is the reference for the admin.js?ver=1.5.4:836 error of t.getFormParams:

    case "editor":
    					if(tinyMCE.get(name) != null){
    						value = tinyMCE.get(name).getContent();
    					}
    				break;

    and the admin.js?ver=1.5.4:1187 referencec for the (anonymous function) error:

    var data = {
    				name: jQuery.trim(jQuery('input[name="name"]').val()),
    				handle: jQuery.trim(jQuery('input[name="handle"]').val()), //is alias
    				postparams: t.getFormParams('eg-form-create-posts'),
    				params: t.getFormParams('eg-form-create-settings')
    			};

    Is there someone who can guide me to solve and understand what’s the problem and how to fix it? How could I define tinymce? How to search into the php code of the plugin?

    p.s.
    I don’t understand the t.getFormParams error I got, cause I’m the administrator.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Deactivating all plugins and re-activating them one by one is not a solution, but will let you determine which plugin is the cause of the issue. Once determined, you can decide to replace it with another, contact the author for a fix, or try to fix it yourself.

    Thread Starter simon696

    (@simon696)

    and that’s the point…I wish to know how is it possible to understand where the problem is. Once I understood which plugin make the issue, where I can see exactly the error? I need to debug, or what?
    Thanks

    most likely the plugin is causing a JS error. check the console in your browser’s developer tools.

    Thread Starter simon696

    (@simon696)

    I don’t understand the process…what about those errors I wrote here above? They are generated by wordpress for let you know that something is wrong, but without telling you what?

    The JS errors are generated by your browser, not by WordPress. If you want to fix them you’ll need to track them down and figure out the issue.

    Thread Starter simon696

    (@simon696)

    Thanks karpstrucking,
    now it’s much clear…so maybe the best solution is to subscribe for a service to track js error, I saw some website online. There are also few plugins that do that, but I don’t think are a good idea. What’s you’re point of view?

    Thread Starter simon696

    (@simon696)

    thank you for support

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Uncaught ReferenceError: tinyMCE is not defined, plugin error’ is closed to new replies.