Home Forums Add-ons Repeater Field Have_rows() of repeater field returns false after update to newest version


Have_rows() of repeater field returns false after update to newest version

    • brutzki

    • March 20, 2021 at 12:45 am


    I recently updated ACF Pro to the newest version (5.9.5). After I did, have_rows() started returning false on my repeater field.

    This is the current code I have.

    } else {
        return 'hello'; //For testing purposes

    This started to return ‘hello’.

    Additionally, when I do


    The number 5 gets printed out. This matches the number of fields that my repeater has.

    I tried reverting to ACF version 5.9.3 and it started working again.

    Is anyone experiencing anything similar? According to the changelogs no changes have been made to the have_rows() function between 5.9.3 and 5.9.5.

  • @brutzki have you updated WordPress to 5.7? I had similar issues and the update resolved them 🙂

  • To the OP, this generally happens when something in interfering with a query being done by ACF. It could be that another plugin was causing the issue or that it is a but in WP as @lukasfrei experienced.

    The first thing that needs to be done is to narrow down the problem, update or revert WP, plugin deactivation, theme switching to figure out where the conflict is.

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.