Home › Forums › Front-end Issues › Repeater field – Add button 404 error (frontend only)
Hello,
i have a problem with the repeater +add button (only in the frontend).
I use the normal acf-function
acf_form( .... );
Any ideas what I’m doing wrong?
Hi @manu
Could you please share the URL where this issue occurs? You can reply this thread with Private visibility so no one else can see it.
Thanks 🙂
Hi @manu
I’m afraid I couldn’t see the repeater field on the page, even after I logged in. Could you please check it out?
Thanks 🙂
Hi @manu
The add button should send “wp-admin/admin-ajax.php” POST request to the server instead of the current URL. Maybe there’s something in your site that prevents it. Could you please try to reproduce the issue on one of the WordPress’ stock themes (like Twenty Sixteen) with other plugins deactivated? If it disappears, then you can activate the theme and plugins one by one to see which one causes the issue.
Thanks 🙂
Hi James,
thanks for the fast reply!
i disabled all plugins -> same problem
i changed the theme to twentyfifteen-> works
i re-activated all plugins -> works
so the problem is my custom-theme … but i have no idea where to start :/
Hi @manu
I’m afraid it can be anything in your theme.
Could you please try to use acf_form() without any parameter?
It’s also possible that there’s a JS script that causes this behavior. Could you please disable the JS scripts loaded by your theme?
Thanks 🙂
Hi James,
Could you please try to use acf_form() without any parameter?/blockquote>
The same parameter works with the other theme, so this is not the problem.Could you please disable the JS scripts loaded by your theme?
Same error.
It must be something in my functions.php.
I disabled now this ajax request, i think i don’t need it because i used my own save functions.
Thank you very much for the fast help.
The topic ‘Repeater field – Add button 404 error (frontend only)’ is closed to new replies.
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.