Support

Account

Home Forums Front-end Issues ACF Fields suddenly stopped showing Reply To: ACF Fields suddenly stopped showing

  • I have had a look into this and it seems I am using an if statement that has since been changed since PHP V5.3.

    I other words in PHP V5.3 this code shows all the ACF field data

    if(get_field('name'))
    $field_name = "name";
    if(empty($field_name['name'])){
    
        echo " ";}
    
    else
    ....

    However if you upgrade from 5.3 upward this statement stops the PHP fields showing … take the ‘if’ statement out it all shows again.

    So it seems I need to upgrade this ‘if’ statement somehow