Home › Forums › Front-end Issues › javascript error with image in front end › Reply To: javascript error with image in front end
Hi @summerz
The issue looks to be the acf_form_head is the function which generates the javascript variables acf.o.post_id
It seems that because you are customizing the post object, this is most likely not being set correctly by the acf_form_head function.
Can you take a look at the source / firebug and make sure the acf javascript variable exists and contains the acf.o.post_if value?
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.