Support

Account

Home Forums Front-end Issues Conditional statement problem (expects parameter) Reply To: Conditional statement problem (expects parameter)

  • Hi @Cheyens
    I would first test the value of your get_field to see why the error is showing in the first place.

    
    <?php 
    
    echo '<pre>';
    	var_dump(get_field('materiale'));
    echo '</pre>';
    die;
     ?>
    

    What do you get?