Home › Forums › Backend Issues (wp-admin) › Newest ACF broke admin pages
When I delete image from custom field (image), I can’t add new one.
I’m getting error on console:
Uncaught TypeError: wp.media is undefined
addFrameStates https://xxx.com/wp-content/plugins/advanced-custom-fields-pro/assets/build/js/acf-input.min.js?ver=5.11.3:1
initialize https://xxx.com/wp-content/plugins/advanced-custom-fields-pro/assets/build/js/acf-input.min.js?ver=5.11.3:1
e https://xxx.com/wp-content/plugins/advanced-custom-fields-pro/assets/build/js/acf.min.js?ver=5.11.3:1
Model https://xxx.com/wp-content/plugins/advanced-custom-fields-pro/assets/build/js/acf.min.js?ver=5.11.3:1
n https://xxx.com/wp-content/plugins/advanced-custom-fields-pro/assets/build/js/acf.min.js?ver=5.11.3:1
n https://xxx.com/wp-content/plugins/advanced-custom-fields-pro/assets/build/js/acf.min.js?ver=5.11.3:1
newMediaPopup https://xxx.com/wp-content/plugins/advanced-custom-fields-pro/assets/build/js/acf-input.min.js?ver=5.11.3:1
selectAttachment https://xxx.com/wp-content/plugins/advanced-custom-fields-pro/assets/build/js/acf-input.min.js?ver=5.11.3:1
onClickAdd https://xxx.com/wp-content/plugins/advanced-custom-fields-pro/assets/build/js/acf-input.min.js?ver=5.11.3:1
proxyEvent https://xxx.com/wp-content/plugins/advanced-custom-fields-pro/assets/build/js/acf.min.js?ver=5.11.3:1
jQuery 10
on https://xxx.com/wp-content/plugins/advanced-custom-fields-pro/assets/build/js/acf.min.js?ver=5.11.3:1
addEvents https://xxx.com/wp-content/plugins/advanced-custom-fields-pro/assets/build/js/acf.min.js?ver=5.11.3:1
e https://xxx.com/wp-content/plugins/advanced-custom-fields-pro/assets/build/js/acf.min.js?ver=5.11.3:1
Model https://xxx.com/wp-content/plugins/advanced-custom-fields-pro/assets/build/js/acf.min.js?ver=5.11.3:1
n https://xxx.com/wp-content/plugins/advanced-custom-fields-pro/assets/build/js/acf.min.js?ver=5.11.3:1
n https://xxx.com/wp-content/plugins/advanced-custom-fields-pro/assets/build/js/acf.min.js?ver=5.11.3:1
newField https://xxx.com/wp-content/plugins/advanced-custom-fields-pro/assets/build/js/acf-input.min.js?ver=5.11.3:1
getField https://xxx.com/wp-content/plugins/advanced-custom-fields-pro/assets/build/js/acf-input.min.js?ver=5.11.3:1
getFields https://xxx.com/wp-content/plugins/advanced-custom-fields-pro/assets/build/js/acf-input.min.js?ver=5.11.3:1
jQuery 2
getFields https://xxx.com/wp-content/plugins/advanced-custom-fields-pro/assets/build/js/acf-input.min.js?ver=5.11.3:1
1580 https://xxx.com/wp-content/plugins/advanced-custom-fields-pro/assets/build/js/acf-input.min.js?ver=5.11.3:1
o https://xxx.com/wp-content/plugins/advanced-custom-fields-pro/assets/build/js/acf.min.js?ver=5.11.3:1
doAction https://xxx.com/wp-content/plugins/advanced-custom-fields-pro/assets/build/js/acf.min.js?ver=5.11.3:1
doAction https://xxx.com/wp-content/plugins/advanced-custom-fields-pro/assets/build/js/acf.min.js?ver=5.11.3:1
7806 https://xxx.com/wp-content/plugins/advanced-custom-fields-pro/assets/build/js/acf.min.js?ver=5.11.3:1
jQuery 13
We’ve seen errors regarding wp.media when a third party plugin is removing WordPress’s javascripts from loading. This is usually security plugins who try to prevent wp-media.js loading for some reason.
If you roll back ACF, does the issue get resolved, or is it possible another plugin update triggered it?
I roll back to previous version and it works fine.
I can provide a list of plugins if this help to resolve the problems ?
You must be logged in to reply to this topic.
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.