Support

Account

Home Forums Front-end Issues Uncaught TypeError: Cannot read property 'query' of undefined Reply To: Uncaught TypeError: Cannot read property 'query' of undefined

  • Hi,
    I have read all the post. Have the same problem, but inside the editor of pages (where my admin upload posts.. not public)

    The error raises upon pressing the “upload image” button. No dialog appears.

    Console error is:

    acf-input.min.js?ver=5.8.7:3 Uncaught TypeError: Cannot read property 'query' of undefined
        at n.addFrameStates (acf-input.min.js?ver=5.8.7:3)
        at n.initialize (acf-input.min.js?ver=5.8.7:3)
        at n.e (acf-input.min.js?ver=5.8.7:1)
        at n.acf.Model (acf-input.min.js?ver=5.8.7:1)
        at n [as constructor] (acf-input.min.js?ver=5.8.7:1)
        at new n (acf-input.min.js?ver=5.8.7:1)
        at Object.acf.newMediaPopup (acf-input.min.js?ver=5.8.7:3)
        at n.selectAttachment (acf-input.min.js?ver=5.8.7:2)
        at n.onClickAdd (acf-input.min.js?ver=5.8.7:2)
        at n.<anonymous> (acf-input.min.js?ver=5.8.7:1)

    Wordpress ver 5.3.1

    All plugins updated

    any ideas? I’m driving mad.

    Thanks!