I am creating a custom theme and decided to place ACF in the “mu-plugins” folder and I ran into a unique issue. When a user removes a file from an field group that is a file type it generates a “404” file not found error for the default image (wp-includes/images/media/default.png). To fix this I was forced to modify the “assets/build/js/acf-input.js” file as seen below (icon path).
I know this is not ideal but I don’t want any console errors showing up in my theme. Just wanted to write this up for anyone else who may be having this issue since I could not find any fixes online about it. Maybe the ACF team can update this path to better fit all install situations like mine.
Viewing 1 post (of 1 total)
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