Account created on 4 August 2008, over 16 years ago
#

Recent comments

πŸ‡ΊπŸ‡¦Ukraine zegmant

the same on 7.0.1
php8.3.10
D10.3.2

tried to set select2 in bef via direct editing of views config (for field_country_target_id filter)

      exposed_form:
        type: bef
        options:
          submit_button: Apply
          reset_button: true
          reset_button_label: Reset
          exposed_sorts_label: 'Sort by'
          expose_sort_order: true
          sort_asc_label: Asc
          sort_desc_label: Desc
          text_input_required: 'Select any filter and click on Apply to see results'
          text_input_required_format: null
          bef:
            general:
              autosubmit: false
              autosubmit_exclude_textfield: false
              autosubmit_textfield_delay: 500
              autosubmit_hide: false
              input_required: false
              allow_secondary: false
              secondary_label: 'Advanced options'
              secondary_open: false
              reset_button_always_show: false
            sort:
              plugin_id: default
            filter:
              combine:
                plugin_id: default
              field_country_target_id:
                plugin_id: bef_select2
                advanced:
                  placeholder_text: 'Country'
                  rewrite:
                    filter_rewrite_values: ''
                    filter_rewrite_values_key: false
                  collapsible: false
                  collapsible_disable_automatic_open: false
                  is_secondary: false

when viewing the page frontend it goes into the same error:

Fatal error: Declaration of Drupal\select2\Plugin\better_exposed_filters\filter\Select2::defaultConfiguration() must be compatible with Drupal\better_exposed_filters\Plugin\better_exposed_filters\filter\FilterWidgetBase::defaultConfiguration(): array in /var/www/unh-new/web/modules/contrib/select2/src/Plugin/better_exposed_filters/filter/Select2.php on line 74

changing
public function defaultConfiguration(): array { to public function defaultConfiguration() { gives no reluslts

πŸ‡ΊπŸ‡¦Ukraine zegmant

found, better_exposed_filters/src/Plugin/better_exposed_filters/filter/FilterWidgetBase.php line 74
changed.
no changes, the same error

πŸ‡ΊπŸ‡¦Ukraine zegmant

i'm not programmer, just advanced drupal user. can you instruct wher to find the file?

πŸ‡ΊπŸ‡¦Ukraine zegmant

tried to set select2 in bef via direct editing of views config (for field_country_target_id filter)

      exposed_form:
        type: bef
        options:
          submit_button: Apply
          reset_button: true
          reset_button_label: Reset
          exposed_sorts_label: 'Sort by'
          expose_sort_order: true
          sort_asc_label: Asc
          sort_desc_label: Desc
          text_input_required: 'Select any filter and click on Apply to see results'
          text_input_required_format: null
          bef:
            general:
              autosubmit: false
              autosubmit_exclude_textfield: false
              autosubmit_textfield_delay: 500
              autosubmit_hide: false
              input_required: false
              allow_secondary: false
              secondary_label: 'Advanced options'
              secondary_open: false
              reset_button_always_show: false
            sort:
              plugin_id: default
            filter:
              combine:
                plugin_id: default
              field_country_target_id:
                plugin_id: bef_select2
                advanced:
                  placeholder_text: 'Country'
                  rewrite:
                    filter_rewrite_values: ''
                    filter_rewrite_values_key: false
                  collapsible: false
                  collapsible_disable_automatic_open: false
                  is_secondary: false

when viewing the page frontend it goes into the same error:

Fatal error: Declaration of Drupal\select2\Plugin\better_exposed_filters\filter\Select2::defaultConfiguration() must be compatible with Drupal\better_exposed_filters\Plugin\better_exposed_filters\filter\FilterWidgetBase::defaultConfiguration(): array in /var/www/unh-new/web/modules/contrib/select2/src/Plugin/better_exposed_filters/filter/Select2.php on line 21

(but i see no logs in the watchdog)

πŸ‡ΊπŸ‡¦Ukraine zegmant

the URL used to view the node has to have query parameter

How this query will be attached to the url? Does the module do it? I do not see

πŸ‡ΊπŸ‡¦Ukraine zegmant

how do you avoid this issue during the installation?
trying thunder 6.5.6 -- all the same

πŸ‡ΊπŸ‡¦Ukraine zegmant

Adding new filters (e.g. for

) -- also no effect
πŸ‡ΊπŸ‡¦Ukraine zegmant

it's about translated nodes.
but I mean that this arbitrary text like "Previous [content-type]" impossible to translate

πŸ‡ΊπŸ‡¦Ukraine zegmant

+ the same problem as #5 with combined filters on date field
trying to revert Filter Id makes no help

πŸ‡ΊπŸ‡¦Ukraine zegmant

the same error
Error generating document: Failed to generate PDF: The CSS selector 'summary::marker' is not valid
D 9.5.4
Webform 6.1.4

Production build 0.71.5 2024