Home › Forums › Bug Reports › (another) ReferenceError: wp is not defined › Reply To: (another) ReferenceError: wp is not defined
The error occurs for a specific post type used by the theme: slideshow. It also occurs only for a specific role: author (or at least for sub-admin). The theme developer has tested it on their end and cannot duplicate this problem. I have tracked down the code in the theme that also generates the “wp is not defined” error, as noted above, and it’s in their media frame code, so that seems to be why the media frame doesn’t appear when users of author role (my students) click the media buttons on this custom post type. They suggested it was a conflict with another plugin, and since I see the same error in ACF and for author role only I figured this would be the reason. (But perhaps it’s not a big deal on the ACF side?) I can take your recommendation to the theme developer, but any further insights based on this info welcome! Btw, ACF is a great plugin, and is central to how we deploy WP in a learning environment.
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!
CPT registration is coming to ACF! We demoed the new feature during the most recent session of ACF Chat Fridays. Check out the summary for the details. https://t.co/k2KQ3WWBAz
— Advanced Custom Fields (@wp_acf) March 7, 2023
© 2023 Advanced Custom Fields.
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 Cookie Policy. If you continue to use this site, you consent to our use of cookies.