Home › Forums › Front-end Issues › Uncaught TypeError: Cannot read property 'query' of undefined › Reply To: Uncaught TypeError: Cannot read property 'query' of undefined
Hm okay,
Could you try disabling all other plugins to make sure it’s not some interference?
The error says wp.media doesn’t even exists.. so this happens when you click the “Add to gallery” button for a gallery field. But where? Is it on a post/page or something else?
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.