Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter cireb

    (@cireb)

    more of the call stack :

    meta-box.js?ver=3.5.1:239 Uncaught TypeError: Cannot read property ‘split’ of undefined
    at String.<anonymous> (meta-box.js?ver=3.5.1:239)
    at Function.each (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils&ver=5.0.3:2)
    at a.fn.init.each (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils&ver=5.0.3:2)
    at getMCEBodyClasses (meta-box.js?ver=3.5.1:233)
    at HTMLDocument.<anonymous> (meta-box.js?ver=3.5.1:19)
    at i (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils&ver=5.0.3:2)
    at Object.fireWith [as resolveWith] (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils&ver=5.0.3:2)
    at Function.ready (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils&ver=5.0.3:2)
    at HTMLDocument.K (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils&ver=5.0.3:2)

    Thread Starter cireb

    (@cireb)

    I patch like that:

    if ( $(‘#SnS_classes_body’).val() != undefined ) {

    before

    var bc = $( ‘#SnS_classes_body’ ).val().split( ‘ ‘ )

    Plugin Author WraithKenny

    (@wraithkenny)

    Thanks for posting this, I’ll look into what’s causing it this weekend!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error in getMCEBodyClasses’ is closed to new replies.