Forum Replies Created

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

    (@cireb)

    I patch like that:

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

    before

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

    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)

Viewing 2 replies - 1 through 2 (of 2 total)