settings.facets is undefined in soft-limit.js

Created on 31 March 2025, 3 days ago

Problem/Motivation

I get this error:

Uncaught TypeError: settings.facets is undefined
    attach https://localhost/modules/contrib/facets/js/soft-limit.js?v=10.4.1:12
    attachBehaviors https://localhost/core/misc/drupal.js?v=10.4.1:166
    attachBehaviors https://localhost/core/misc/drupal.js?v=10.4.1:162
    makeCheckboxes https://localhost/modules/contrib/facets/js/checkbox-widget.js?v=10.4.1:51
    jQuery 2
    makeCheckboxes https://localhost/modules/contrib/facets/js/checkbox-widget.js?v=10.4.1:38
    attach https://localhost/modules/contrib/facets/js/checkbox-widget.js?v=10.4.1:13
    attachBehaviors https://localhost/core/misc/drupal.js?v=10.4.1:166
    attachBehaviors https://localhost/core/misc/drupal.js?v=10.4.1:162
    <anonymous> https://localhost/core/misc/drupal.init.js?v=10.4.1:32
    listener https://localhost/core/misc/drupal.init.js?v=10.4.1:20
    domReady https://localhost/core/misc/drupal.init.js?v=10.4.1:26
    <anonymous> https://localhost/core/misc/drupal.init.js?v=10.4.1:31
    <anonymous> https://localhost/core/misc/drupal.init.js?v=10.4.1:34
soft-limit.js:12:11

Enable soft limits

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇮🇹Italy trickfun

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

Comments & Activities

Production build 0.71.5 2024