Home › Forums › Backend Issues (wp-admin) › Javascript issues in Classic Editor – Add Media and other buttons broken
Using 5.7.12 of the free plugin, my client is finding the Add Media and Add Gallery buttons above the Classic Editor interface are no longer working. Looks like an ACF issue because it’s the only plugin throwing errors in the console:
These are the errors copied from the console:
TypeError: t is null[Learn More] acf-input.min.js:3:8499
addRules https://sitename.com/wp-content/plugins/advanced-custom-fields/assets/js/acf-input.min.js?ver=5.7.12:3 setup https://sitename.com/wp-content/plugins/advanced-custom-fields/assets/js/acf-input.min.js?ver=5.7.12:3 map self-hosted:286 setup https://sitename.com/wp-content/plugins/advanced-custom-fields/assets/js/acf-input.min.js?ver=5.7.12:3 Model https://sitename.com/wp-content/plugins/advanced-custom-fields/assets/js/acf-input.min.js?ver=5.7.12:1 i https://sitename.com/wp-content/plugins/advanced-custom-fields/assets/js/acf-input.min.js?ver=5.7.12:1 getConditions https://sitename.com/wp-content/plugins/advanced-custom-fields/assets/js/acf-input.min.js?ver=5.7.12:3 onNewField https://sitename.com/wp-content/plugins/advanced-custom-fields/assets/js/acf-input.min.js?ver=5.7.12:3 u https://sitename.com/wp-content/plugins/advanced-custom-fields/assets/js/acf-input.min.js?ver=5.7.12:1 i https://sitename.com/wp-content/plugins/advanced-custom-fields/assets/js/acf-input.min.js?ver=5.7.12:1 doAction https://sitename.com/wp-content/plugins/advanced-custom-fields/assets/js/acf-input.min.js?ver=5.7.12:1 newField https://sitename.com/wp-content/plugins/advanced-custom-fields/assets/js/acf-input.min.js?ver=5.7.12:1 getField https://sitename.com/wp-content/plugins/advanced-custom-fields/assets/js/acf-input.min.js?ver=5.7.12:1 getFields https://sitename.com/wp-content/plugins/advanced-custom-fields/assets/js/acf-input.min.js?ver=5.7.12:1 each2jQuery
getFields https://sitename.com/wp-content/plugins/advanced-custom-fields/assets/js/acf-input.min.js?ver=5.7.12:1 i https://sitename.com/wp-content/plugins/advanced-custom-fields/assets/js/acf-input.min.js?ver=5.7.12:1 u https://sitename.com/wp-content/plugins/advanced-custom-fields/assets/js/acf-input.min.js?ver=5.7.12:1 i https://sitename.com/wp-content/plugins/advanced-custom-fields/assets/js/acf-input.min.js?ver=5.7.12:1 doAction https://sitename.com/wp-content/plugins/advanced-custom-fields/assets/js/acf-input.min.js?ver=5.7.12:1 <anonymous> https://sitename.com/wp-admin/post.php?post=37&action=edit&classic-editor&classic-editor__forget:2757
Thanks for any suggestions. I’ve tried using define(‘CONCATENATE_SCRIPTS’, false ); but that didn’t do anything.
Bump – still going on. If I deactivate ACF I can use the Add Media button again.
Hi. Have you solved this issue? This is what is happening to me too, cant figure out whats the issue.
There isn’t any issue that I can find in ACF, my sites are all functioning correctly. Things that can cause this are
– a javascript conflict with another plugin, try deactivating other plugins
– a corrupt javascript file, this can happen. A quick test is to turn on SCRIPT_DEBUG https://wordpress.org/support/article/debugging-in-wordpress/#script_debug
The topic ‘Javascript issues in Classic Editor – Add Media and other buttons broken’ is closed to new replies.
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.