Home › Forums › Bug Reports › Critical, add images broken, js error a.refresh is not a function › Reply To: Critical, add images broken, js error a.refresh is not a function
Hi @Intervik
Just realized you already gave the JS error.
The refresh
function should indeed exist as it is given to the wp.media.view.AttachmentFilters.All.prototype
object.
Can you enter the above into your console log and look at the object that is returned, does it contain a function called ‘refresh’?
Thanks
E
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.