Tagged: ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #956095

    I have created a 3 cells grid-row…
    I wish to insert a background image to each.
    Chrome console gives the following error when I press the Insert Image for Custom Background Image:

    wp-auth-check.min.js?ver=4.9.5:1 Uncaught TypeError: Cannot read property 'hasClass' of undefined
        at HTMLDocument.<anonymous> (wp-auth-check.min.js?ver=4.9.5:1)
        at HTMLDocument.dispatch (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,underscore,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable,jque&load[]=ry-ui-draggable,utils,backbone,wp-util,moxiejs,plupload&ver=4.9.5:3)
        at HTMLDocument.r.handle (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,underscore,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable,jque&load[]=ry-ui-draggable,utils,backbone,wp-util,moxiejs,plupload&ver=4.9.5:3)
        at Object.trigger (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,underscore,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable,jque&load[]=ry-ui-draggable,utils,backbone,wp-util,moxiejs,plupload&ver=4.9.5:3)
        at Object.a.event.trigger (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,underscore,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable,jque&load[]=ry-ui-draggable,utils,backbone,wp-util,moxiejs,plupload&ver=4.9.5:9)
        at HTMLDocument.<anonymous> (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,underscore,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable,jque&load[]=ry-ui-draggable,utils,backbone,wp-util,moxiejs,plupload&ver=4.9.5:3)
        at Function.each (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,underscore,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable,jque&load[]=ry-ui-draggable,utils,backbone,wp-util,moxiejs,plupload&ver=4.9.5:2)
        at a.fn.init.each (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,underscore,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable,jque&load[]=ry-ui-draggable,utils,backbone,wp-util,moxiejs,plupload&ver=4.9.5:2)
        at a.fn.init.trigger (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,underscore,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable,jque&load[]=ry-ui-draggable,utils,backbone,wp-util,moxiejs,plupload&ver=4.9.5:3)
        at Object.<anonymous> (heartbeat.min.js?ver=4.9.5:1)

    What is wrong??
    What’s the fix for this??
    Thank you

    #956253

    Hey tallypeled,

    It will be difficult to help you out if you are working locally only, this seems to be the function which has a problem though: https://codex.wordpress.org/Function_Reference/wp_auth_check, it might just be temporary since it’s checking if you are logged in or not?

    Best regards,
    Rikard

    • This reply was modified 6 years, 6 months ago by Rikard.
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.