Cannot read properties of undefined (reading 'facets_summary_ajax_summary')

Created on 11 October 2024, about 2 months ago

Problem/Motivation

Environment:

Drupal: 10.3.6
PHP: 8.2.18
Facets: 2.0.8 & 2.0.9

I've not enabled the Facets Summary module

Steps to reproduce

I have a few facets, however this problem is not specific to a particular one, as it's happening in all of them.
In all cases Facets are set with checkboxes
Select on any checkbox; everything works just fine

Proceed to select a 2nd check box or uncheck the selected one and:
a) the facet gets grayed out
b) in the console window I see:

js_ufn27hxmK2li738JgrH6twO-_i0EGosnfHP48Gbb8CM.js?scope=footer&delta=0&language=en&theme=ipt&include=eJxLS0xOLSnWTykqLUjM0UsD8_TKMlPLi3UTsxIrdNKwySdnpCZnJ-VX6JZnpqSnlgAAg1waIg&exclude=eJx9jtENwjAMRBcyzQxMUrmJBS5JHMVOKdtDK4IKH_zYd6cnn71ko9UaRhdqKxgH_0lOkfNNQR9qlNyESuClUgfRGy-0QzCJmFrF4ooUWageEhOJxgUWpru6fQ5JQov0FeGMK2zshNW9NzSl2vs2PfDrPX1hbWNaBf_v_35Fr1LNN-tI9791A6nHQueQOEOiwEiREmVzRzP6kGeFiS9j4UKuiydqHIH9:3 Uncaught TypeError: Cannot read properties of undefined (reading 'facets_summary_ajax_summary')
    at updateFacetsSummaryBlock (js_ufn27hxmK2li738JgrH6twO-_i0EGosnfHP48Gbb8CM.js?scope=footer&delta=0&language=en&theme=ipt&include=eJxLS0xOLSnWTykqLUjM0UsD8_TKMlPLi3UTsxIrdNKwySdnpCZnJ-VX6JZnpqSnlgAAg1waIg&exclude=eJx9jtENwjAMRBcyzQxMUrmJBS5JHMVOKdtDK4IKH_zYd6cnn71ko9UaRhdqKxgH_0lOkfNNQR9qlNyESuClUgfRGy-0QzCJmFrF4ooUWageEhOJxgUWpru6fQ5JQov0FeGMK2zshNW9NzSl2vs2PfDrPX1hbWNaBf_v_35Fr1LNN-tI9791A6nHQueQOEOiwEiREmVzRzP6kGeFiS9j4UKuiydqHIH9:3:5371)
    at updateFacetsBlocks (js_ufn27hxmK2li738JgrH6twO-_i0EGosnfHP48Gbb8CM.js?scope=footer&delta=0&language=en&theme=ipt&include=eJxLS0xOLSnWTykqLUjM0UsD8_TKMlPLi3UTsxIrdNKwySdnpCZnJ-VX6JZnpqSnlgAAg1waIg&exclude=eJx9jtENwjAMRBcyzQxMUrmJBS5JHMVOKdtDK4IKH_zYd6cnn71ko9UaRhdqKxgH_0lOkfNNQR9qlNyESuClUgfRGy-0QzCJmFrF4ooUWageEhOJxgUWpru6fQ5JQov0FeGMK2zshNW9NzSl2vs2PfDrPX1hbWNaBf_v_35Fr1LNN-tI9791A6nHQueQOEOiwEiREmVzRzP6kGeFiS9j4UKuiydqHIH9:3:4451)
    at updateFacetsView (js_ufn27hxmK2li738JgrH6twO-_i0EGosnfHP48Gbb8CM.js?scope=footer&delta=0&language=en&theme=ipt&include=eJxLS0xOLSnWTykqLUjM0UsD8_TKMlPLi3UTsxIrdNKwySdnpCZnJ-VX6JZnpqSnlgAAg1waIg&exclude=eJx9jtENwjAMRBcyzQxMUrmJBS5JHMVOKdtDK4IKH_zYd6cnn71ko9UaRhdqKxgH_0lOkfNNQR9qlNyESuClUgfRGy-0QzCJmFrF4ooUWageEhOJxgUWpru6fQ5JQov0FeGMK2zshNW9NzSl2vs2PfDrPX1hbWNaBf_v_35Fr1LNN-tI9791A6nHQueQOEOiwEiREmVzRzP6kGeFiS9j4UKuiydqHIH9:3:4084)
    at HTMLUListElement.<anonymous> (js_ufn27hxmK2li738JgrH6twO-_i0EGosnfHP48Gbb8CM.js?scope=footer&delta=0&language=en&theme=ipt&include=eJxLS0xOLSnWTykqLUjM0UsD8_TKMlPLi3UTsxIrdNKwySdnpCZnJ-VX6JZnpqSnlgAAg1waIg&exclude=eJx9jtENwjAMRBcyzQxMUrmJBS5JHMVOKdtDK4IKH_zYd6cnn71ko9UaRhdqKxgH_0lOkfNNQR9qlNyESuClUgfRGy-0QzCJmFrF4ooUWageEhOJxgUWpru6fQ5JQov0FeGMK2zshNW9NzSl2vs2PfDrPX1hbWNaBf_v_35Fr1LNN-tI9791A6nHQueQOEOiwEiREmVzRzP6kGeFiS9j4UKuiydqHIH9:3:2844)
    at HTMLUListElement.dispatch (js__7mLqg9aYJfCq3r6A6ZHmdpo0ZxxtHp1fRXC9_ct1NM.js?scope=footer&delta=0&language=en&theme=ipt&include=eJx9jlEOwjAIhi-E6xk8yUIpMcyukJbOHV-3OJ0vvgDf_0ECaXFevWMOqXbDPNAnuWQp9waklQ-J5LLwLiCqevOKFkxNF66nxFWzi8Ei_GhhrwNOuMImItbw7i_uG_QK9O-T7_rP-cCN0PiaZikwcxLkzDMXD2cYKZWpQZTbaGIcjuEJH0JjFQ:3:40035)
    at HTMLUListElement.<anonymous> (js__7mLqg9aYJfCq3r6A6ZHmdpo0ZxxtHp1fRXC9_ct1NM.js?scope=footer&delta=0&language=en&theme=ipt&include=eJx9jlEOwjAIhi-E6xk8yUIpMcyukJbOHV-3OJ0vvgDf_0ECaXFevWMOqXbDPNAnuWQp9waklQ-J5LLwLiCqevOKFkxNF66nxFWzi8Ei_GhhrwNOuMImItbw7i_uG_QK9O-T7_rP-cCN0PiaZikwcxLkzDMXD2cYKZWpQZTbaGIcjuEJH0JjFQ:3:38006)
    at Object.trigger (js__7mLqg9aYJfCq3r6A6ZHmdpo0ZxxtHp1fRXC9_ct1NM.js?scope=footer&delta=0&language=en&theme=ipt&include=eJx9jlEOwjAIhi-E6xk8yUIpMcyukJbOHV-3OJ0vvgDf_0ECaXFevWMOqXbDPNAnuWQp9waklQ-J5LLwLiCqevOKFkxNF66nxFWzi8Ei_GhhrwNOuMImItbw7i_uG_QK9O-T7_rP-cCN0PiaZikwcxLkzDMXD2cYKZWpQZTbaGIcjuEJH0JjFQ:3:70124)
    at HTMLUListElement.<anonymous> (js__7mLqg9aYJfCq3r6A6ZHmdpo0ZxxtHp1fRXC9_ct1NM.js?scope=footer&delta=0&language=en&theme=ipt&include=eJx9jlEOwjAIhi-E6xk8yUIpMcyukJbOHV-3OJ0vvgDf_0ECaXFevWMOqXbDPNAnuWQp9waklQ-J5LLwLiCqevOKFkxNF66nxFWzi8Ei_GhhrwNOuMImItbw7i_uG_QK9O-T7_rP-cCN0PiaZikwcxLkzDMXD2cYKZWpQZTbaGIcjuEJH0JjFQ:3:70726)
    at Function.each (js__7mLqg9aYJfCq3r6A6ZHmdpo0ZxxtHp1fRXC9_ct1NM.js?scope=footer&delta=0&language=en&theme=ipt&include=eJx9jlEOwjAIhi-E6xk8yUIpMcyukJbOHV-3OJ0vvgDf_0ECaXFevWMOqXbDPNAnuWQp9waklQ-J5LLwLiCqevOKFkxNF66nxFWzi8Ei_GhhrwNOuMImItbw7i_uG_QK9O-T7_rP-cCN0PiaZikwcxLkzDMXD2cYKZWpQZTbaGIcjuEJH0JjFQ:3:3129)
    at ce.each (js__7mLqg9aYJfCq3r6A6ZHmdpo0ZxxtHp1fRXC9_ct1NM.js?scope=footer&delta=0&language=en&theme=ipt&include=eJx9jlEOwjAIhi-E6xk8yUIpMcyukJbOHV-3OJ0vvgDf_0ECaXFevWMOqXbDPNAnuWQp9waklQ-J5LLwLiCqevOKFkxNF66nxFWzi8Ei_GhhrwNOuMImItbw7i_uG_QK9O-T7_rP-cCN0PiaZikwcxLkzDMXD2cYKZWpQZTbaGIcjuEJH0JjFQ:3:1594)

Any subsequent click gray's out the facet group of the selected item.

Proposed resolution

I don't have any.

🐛 Bug report
Status

Active

Version

2.0

Component

Facet summary

Created by

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

Comments & Activities

Production build 0.71.5 2024