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!
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.