• Resolved Nikodemsky

    (@nikodemsky)


    I’m getting error on latest version of wordpress, while trying to add new category in woocommerce:

    Uncaught TypeError: Cannot read property 'setContent' of null
        at HTMLDocument.<anonymous> (edit-tags.php?taxonomy=product_cat&post_type=product:513)
        at HTMLDocument.dispatch (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,moxiejs,plupload&ver=5.1:3)
        at HTMLDocument.r.handle (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,moxiejs,plupload&ver=5.1:3)
        at Object.trigger (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,moxiejs,plupload&ver=5.1:3)
        at Object.a.event.trigger (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,moxiejs,plupload&ver=5.1:8)
        at y (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,moxiejs,plupload&ver=5.1:4)
        at XMLHttpRequest.c (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,moxiejs,plupload&ver=5.1:4)

    I have already checked and it’s not related to my theme or other plugins, it only occurs once i’ll activate this plugin.

    Latest wordpress, woocommerce and plugin versions.

Viewing 2 replies - 1 through 2 (of 2 total)
  • I had the same problem and the work around for me was to comment out the line 166 at class-editot.php file
    // tinyMCE.activeEditor.setContent(”);

    Plugin Author Shea Bunge

    (@bungeshea)

    I’ve added a check to prevent this error in version 1.8.1.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Uncaught TypeError: Cannot read property ‘setContent’ of null’ is closed to new replies.