Support

Account

Home Forums Backend Issues (wp-admin) Repeater field breaking in backend & post content vanished from font end

Solving

Repeater field breaking in backend & post content vanished from font end

  • I’m having an issue on my local WP development site where if I go into any of the custom field groups on the back end containing a repeater field I cannot add any more fields (of any kind).

    If I go into the page template the custom fields are relating too the fields are still there but I can’t add anything to them.

    All the content has also vanished from the front-end.

    It was working just fine until I installed a plugin which encodes email addresses with javascript but I’ve tried disabling that plugin, plus all the others and re-enabling them but it still hasn’t fixed the issue.

    Has anyone encountered this issue/bug before?

    EDIT: On switching on the error logs this message is being displayed in place of the content

    Warning: Invalid argument supplied for foreach() in /Applications/MAMP/htdocs/sitename/wp-content/plugins/acf-repeater/repeater.php on line 894

    and in the admin section

    Fatal error: [] operator not supported for strings in /Applications/MAMP/htdocs/sitename/wp-content/plugins/acf-repeater/repeater.php on line 418

    EDIT 2: Turns out that is was the plugin that caused the issues, I’ve had to delete all the custom fields and put them all back in but it seems to be okay now.

    • jrthib

    • July 17, 2013 at 1:43 am

    Having the same problem. Is there a fix that can be done without deleting everything?

    • Elliot

    • July 17, 2013 at 2:36 pm

    Hi guys,

    It sounds like the plugin was editing the input elements on the edit screen. This the corrupted the POST data to ACF somehow.

    Sorry that you had this issue, but I’m not sure what the solution is except not to use that plugin

    Cheers
    Elliot

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

You must be logged in to reply to this topic.

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 Cookie Policy. If you continue to use this site, you consent to our use of cookies.