I had the checkboxes activated but because the urls where not correct (see here http://drupal.org/node/1772998 ) I changed to links and now I get an error when selecting a link in frontend.

Notice: Array to string conversion in theme_select_as_links() (line 486 of C:\wamp\www\drupal\sites\all\modules\better_exposed_filters\better_exposed_filters.theme).
Notice: Array to string conversion in theme_select_as_links() (line 486 of C:\wamp\www\drupal\sites\all\modules\better_exposed_filters\better_exposed_filters.theme).

Comments

mikeker’s picture

Status: Active » Closed (cannot reproduce)

I'm unable to duplicate this. Can you give some specific steps such as what field you're using the select_as_links option on? Or attach a export of a View that reproduces the issue.

Thanks.

Honza Pobořil’s picture

Issue summary: View changes

Same issue.

I use taxonomy reference in this filter.

This is dump of $vars:

Array
(
    [element] => Array
        (
            [#type] => select
            [#multiple] => 1
            [#options] => Array
                (
                    [8] => Brown Thomas
                    [9] => Holt Renfrew
                    [10] => Selfridges
                    [11] => de Bijenkorf
                )

            [#size] => 4
            [#default_value] => Array
                (
                )

            [#theme] => select_as_links
            [#input] => 1
            [#process] => Array
                (
                    [0] => form_process_select
                    [1] => ajax_process_form
                )

            [#theme_wrappers] => Array
                (
                    [0] => form_element
                )

            [#pre_render] => Array
                (
                    [0] => ctools_dependent_pre_render
                )

            [#defaults_loaded] => 1
            [#tree] => 
            [#parents] => Array
                (
                    [0] => news_company
                )

            [#array_parents] => Array
                (
                    [0] => news_company
                )

            [#weight] => 0
            [#processed] => 1
            [#required] => 
            [#attributes] => Array
                (
                    [multiple] => multiple
                    [name] => news_company[]
                )

            [#title_display] => before
            [#id] => edit-news-company
            [#name] => news_company
            [#value] => Array
                (
                )

            [#needs_validation] => 1
            [#ajax_processed] => 
            [#sorted] => 1
            [#validated] => 1
            [#children] => 
        )

    [theme_hook_suggestions] => Array
        (
        )

)
Honza Pobořil’s picture

Priority: Major » Normal
Status: Closed (cannot reproduce) » Active
mikeker’s picture

Status: Active » Closed (cannot reproduce)

Issue queue cleanup... My apologies for taking so long to address this issue!

I'm not able to reproduce this problem using the latest version of BEF. If you're still seeing this, please reopen with specific steps to reproduce.

Thanks!