Uncaught TypeError: settings.facets is undefined

Created on 14 October 2024, 2 months ago

Hi there.

Problem/Motivation

Facets do not show for anonymous users.

When i go to my view in anonymous user mode, facets do not show correctly.

I got an error in the console :

This is for dropdown

Uncaught TypeError: settings.facets is undefined
    makeDropdown http://www.turo9817.odns.fr/modules/contrib/facets/js/dropdown-widget.js?v=10.3.6:48
    jQuery 2
    makeDropdown http://www.turo9817.odns.fr/modules/contrib/facets/js/dropdown-widget.js?v=10.3.6:27
    attach http://www.turo9817.odns.fr/modules/contrib/facets/js/dropdown-widget.js?v=10.3.6:13
    attachBehaviors http://www.turo9817.odns.fr/core/misc/drupal.js?v=10.3.6:166
    attachBehaviors http://www.turo9817.odns.fr/core/misc/drupal.js?v=10.3.6:162
    <anonymous> http://www.turo9817.odns.fr/core/misc/drupal.init.js?v=10.3.6:32
    listener http://www.turo9817.odns.fr/core/misc/drupal.init.js?v=10.3.6:20
dropdown-widget.js:48:34

This is for range widget

Uncaught TypeError: settings.facets is undefined
    attach http://www.turo9817.odns.fr/modules/contrib/facets/modules/facets_range_widget/js/slider.js?v=10.3.6:14
    attachBehaviors http://www.turo9817.odns.fr/core/misc/drupal.js?v=10.3.6:166
    attachBehaviors http://www.turo9817.odns.fr/core/misc/drupal.js?v=10.3.6:162
    makeCheckboxes http://www.turo9817.odns.fr/modules/contrib/facets/js/checkbox-widget.js?v=10.3.6:51
    jQuery 2
    makeCheckboxes http://www.turo9817.odns.fr/modules/contrib/facets/js/checkbox-widget.js?v=10.3.6:38
    attach http://www.turo9817.odns.fr/modules/contrib/facets/js/checkbox-widget.js?v=10.3.6:13
    attachBehaviors http://www.turo9817.odns.fr/core/misc/drupal.js?v=10.3.6:166
    attachBehaviors http://www.turo9817.odns.fr/core/misc/drupal.js?v=10.3.6:162
    <anonymous> http://www.turo9817.odns.fr/core/misc/drupal.init.js?v=10.3.6:32
    listener http://www.turo9817.odns.fr/core/misc/drupal.init.js?v=10.3.6:20
slider.js:14:11
🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

🇫🇷France mankin

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024