Support

Account

Home Forums Front-end Issues Some ACF Pro outputs stopped working

Unread

Some ACF Pro outputs stopped working

  • I’m Running latest WP and ACF Pro 5.7.13 – recently (I don’t know how recently) a client reported some things missing from their site. I checked, and some – only some – of the ACF fields aren’t rendering output.

    I tried the usual disabling of plugins. There’s nothing showing up on the error logs.

    here’s one example of a piece that now renders nothing – can you find anything wrong with this code that has been working for over a year?

    <! — flex column set –>

    <?php
    // page columns

    if( have_rows(‘sub_columns’) ) {
    echo ‘<section class=”subcolumns”>’;
    echo ‘<div class=”wrap group”>’;
    // loop through the rows of data
    while ( have_rows(‘sub_columns’) ) {
    the_row();

    echo ‘<div class=”column”>’;
    // display the sub field value
    the_sub_field(‘column’);
    echo ‘</div>’;
    }
    echo ‘</div></section>’;

    } else {
    // no rows found
    }
    ?>`

Viewing 1 post (of 1 total)

The topic ‘Some ACF Pro outputs stopped working’ is closed to new replies.