Support

Account

Forum Replies Created

  • Also, and this is totally anecdotal, but both times my sites broke (two different sites) I’m 99% certain they broke after I had renamed a pre-existing repeater. I haven’t experimented to see if this is certain.

    So I don’t know why it is breaking from a code perspective, just that I’ve stumbled across a fix for my particular situation.

    I hope it works for you!

    Remember, make a backup! 🙂

  • Yep, once I reimported, all my old content was still there and I was able to add new data to repeaters AND create new repeaters. Before doing this, basically repeaters just broke. I couldn’t add to pre-existing ones and I couldn’t create new ones (even super simple ones with a single field).

  • So, I finally have a fix … sorta.

    Do this at your own risk and please make sure you have a backup of your database, but on three occasions now for three different sites that have had ACF Repeaters break as I originally described above, this has worked:

    1) Export the custom field set from Custom Fields > Tools

    2) Delete the custom field set. NOTE: This DOES NOT delete the content that’s already been saved to individual pages or posts.

    3) Import the custom field set again into Custom Field > Tools

    Now, I did this once on a whim and it worked on my first broken site.

    On my second broken site, this didn’t work the first time. So I repeated the process and it did work. I am not 100% sure why or of any differences I did, but now both sites are working fine with new repeaters and old repeaters accepting new data.

    NOTE AGAIN: Make a backup of your database! 🙂

  • My pleasure. Now if I could solve my issue. 🙂

  • @semanalitics I believe the s:4 is the length of the string value.

    For instance, in my database, I have this:

    s:14:”Walk-in closet”

    And

    s:16:”Washer and dryer”

    Note the values equal how many characters follows.

    I found your thread trying to figure out how to update the values globally (to fix typos) without editing the values and resaving every page that used it. Figured I’d help you while continuing to look for my answer. 🙂

    Cheers.

  • New info: I can’t add fields to Repeaters either.

Viewing 6 posts - 1 through 6 (of 6 total)