I’m using acf_form() to allow a specific role (a copy of author’s capabilities) to edit its own post on the frontend.
Everything is fine but the image cf: it display the current image (previously set on the wp-admin) and if you click the edit (pencil) you can modify it but if you remove it (x) and then click the “add image” link this error shows up:
Uncaught TypeError: e.parent.find is not a function
So I set true the SCRIPT_DEBUG and the error is here:
args.parent.find is not a function
I want to use the wp version (not the basic).
I already tried to add wp_enqueue_media(); and acf_enqueue_uploader(); before the headers but no luck.
For the record, the “add media” button on the post content works.
Am I missing something?
Any help would be much appreciate, thanks.
I solved it, for future references: the theme was using a custom compiled version of jquery with god knows what plugins embedded in it, removed and replaced with a clean version everything works fine now.
Viewing 2 posts - 1 through 2 (of 2 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