Support

Account

Home Forums Front-end Issues Repeater field – Add button 404 error (frontend only)

Solved

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( .... );

    404

    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 🙂

  • This reply has been marked as private.
  • 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 🙂

  • This reply has been marked as private.
  • This reply has been marked as private.
  • This reply has been marked as private.
  • 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.

  • This reply has been marked as private.
Viewing 12 posts - 1 through 12 (of 12 total)

The topic ‘Repeater field – Add button 404 error (frontend only)’ is closed to new replies.