Thanks for the follow up. I’ve logged in again and taken another look.
It turns out your are most correct, and I have not fully understood your bug report.
It is only on CLICK of the image, that the error occurs. This is because your attachments contain ACF fields, at least 1 of which has conditional logic, but the edit slide page does not include the acf script.
I’m not sure how to fix this issue, as I can’t add in the acf script to this edit page… perhaps I will have to prevent the attachment fields from producing any JS.
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!