Support

Account

Home Forums General Issues Parameters in url: array returns bool (false) Reply To: Parameters in url: array returns bool (false)

  • Hi James,

    As you may notice, I’m new to php 🙂

    Ok when you visit: http://demo.starrenburg.net/category/herenschoenen/

    on this page I’m calling the function like mention above
    <?php filter_herenschoenen(); ?>

    I also include the var dumps:

    <?php 
    
                    $brand = get_field_object('field_583503060dc55');
                    echo '<pre>';
                    var_dump( $brand );
                    echo '</pre>';
    
                    ?>

    So when I var dump &brand without parameters in the url, I can see the array
    however when there are parameters in the url the array returns false. (if I’m correct)

    in the field config:
    field_key: field_583503060dc55
    field_name: brand

    type: select

    I will update the archive.php with the example code