The filter doesn't work, and the following errors are displayed in the console,
There are only 2 normal products in one category and 2 test products in a test category that I created.
The two test products, one with a capacity of 1000 and the other with a capacity of 2000, are displayed 8 times (I see that it appears more often in subsequent instances; it is added to previous results).
I deleted the text "· ---" from the end of some attributes in both products in Attributes, but even though I cleared the entire cache, it doesn't disappear, and the previous attributes are displayed with · --- and the changed ones without · ---.
Before
M300 · 3.000 mm · 2.077 mm · ---
After
M300 · 3,000 mm · 2,077 mm
---
When view the test category, filter is displayed with only 2 test products, these errors are displayed:
Console:
12-test:344 Uncaught TypeError: Cannot set properties of null (setting 'innerHTML')
at HTMLDocument.<anonymous> (12-test:344:59)
12-test:408 Uncaught TypeError: Cannot set properties of null (setting 'innerHTML')
at HTMLDocument.<anonymous> (12-test:408:59)
(Partial, too many characters in the forum)
Before change · ---
document.getElementById("active-filter-jp").innerHTML = "STACKERS - S1600 · 1.600 mm · 2.077 mm · 1.600 mm, M200 · 2.000 mm · 1.577 mm · ---, M250 · 2.500 mm · 1.827 mm · ---, M300 · 3.000 mm · 2.077 mm · ---, M350 · 3.500 mm · 2.327 mm · ---, 1000, 1500, Inside, External, Positionable, 12v, STACKERS - S1600 · 1.600 mm · 2.077 mm · 1.600 mm, M200 · 2.000 mm · 1.577 mm · ---, M250 · 2.500 mm · 1.827 mm · ---, M300 · 3.000 mm · 2.077 mm · ---, M350 · 3.500 mm · 2.327 mm · ---, 1000, 1500, Inside, External, Positionable, 12v, STACKERS - S1600 · 1.600 mm · 2.077 mm · 1.600 mm, M200 · 2.000 mm · 1.577 mm · ---, M250 · 2.500 mm · 1.827 mm · ---, M300 · 3.000 mm · 2.077 mm · ---, M350 · 3.500 mm · 2.327 mm · ---,
1000, 1500, Inside, External, Positionable, 12v, Test - Test - 1000, 2000, Test - 1000, 2000, Test - 1000, 2000, Test - 1000, 2000, Test - 1000, 2000, Test - 1000, 2000, Test - 1000, 2000, Test - 1000, 2000, S1600 · 1.600 mm · 2.077 mm · 1.600 mm, M200 · 2.000 mm · 1.577 mm, M250 · 2.500 mm · 1.827 mm, M300 · 3.000 mm · 2.077 mm, M350 · 3.500 mm · 2.327 mm, 1000, 1500, 2000, Inside, External, Positionable, 12v, Test - 1000, 2000, STACKERS - S1600 · 1.600 mm · 2.077 mm · 1.600 mm, M200 · 2.000 mm · 1.577 mm, M250 · 2.500 mm · 1.827 mm, M300 · 3.000 mm · 2.077 mm, M350 · 3.500 mm · 2.327 mm, 1000, 1500, Inside, External, Positionable, 12v, STACKERS - S1600 · 1.600 mm · 2.077 mm · 1.600 mm, M200 · 2.000 mm · 1.577 mm, M250 · 2.500 mm · 1.827 mm, M300 · 3.000 mm · 2.077 mm, M350 · 3.500 mm · 2.327 mm, 1000, 1500, Inside, External, Positionable, 12v, S1600 · 1.600 mm · 2.077 mm · 1.600 mm, M200 · 2.000 mm · 1.577 mm, M250 · 2.500 mm · 1.827 mm, M300 · 3.000 mm · 2.077 mm, M350 · 3.500 mm · 2.327 mm, 1000, 1500, 2000, Inside, External, Positionable, 12v, STACKERS ";
---
After change · --- (shows previous and current text)
document.getElementById("active-filter-jp").innerHTML = "STACKERS - S1600 · 1.600 mm · 2.077 mm · 1.600 mm, M200 · 2.000 mm · 1.577 mm · ---, M250 · 2.500 mm · 1.827 mm · ---, M300 · 3.000 mm · 2.077 mm · ---, M350 · 3.500 mm · 2.327 mm · ---, 1000, 1500, Inside, External, Positionable, 12v, STACKERS - S1600 · 1.600 mm · 2.077 mm · 1.600 mm, M200 · 2.000 mm · 1.577 mm · ---, M250 · 2.500 mm · 1.827 mm · ---, M300 · 3.000 mm · 2.077 mm · ---, M350 · 3.500 mm · 2.327 mm · ---, 1000, 1500, Inside, External, Positionable, 12v, STACKERS - S1600 · 1.600 mm · 2.077 mm · 1.600 mm, M200 · 2.000 mm · 1.577 mm · ---, M250 · 2.500 mm · 1.827 mm · ---, M300 · 3.000 mm · 2.077 mm · ---, M350 · 3.500 mm · 2.327 mm · ---,
External, Positionable, 12v, Test - 1000, 2000, S1600 · 1.600 mm · 2.077 mm · 1.600 mm, M200 · 2.000 mm · 1.577 mm, M250 · 2.500 mm · 1.827 mm, M300 · 3.000 mm · 2.077 mm, M350 · 3.500 mm · 2.327 mm, 1000, 1500, 2000, Inside, External, Positionable, 12v, Test - 1000, 2000, S1600 · 1.600 mm · 2.077 mm · 1.600 mm, M200 · 2.000 mm · 1.577 mm, M250 · 2.500 mm · 1.827 mm, M300 · 3.000 mm · 2.077 mm, M350 · 3.500 mm · 2.327 mm, 1000, 1500, 2000, Inside, External, Positionable, 12v, STACKERS - S1600 · 1.600 mm · 2.077 mm · 1.600 mm, M200 · 2.000 mm · 1.577 mm, M250 · 2.500 mm · 1.827 mm, M300 · 3.000 mm · 2.077 mm, M350 · 3.500 mm · 2.327 mm, 1000, 1500, Inside, External, Positionable, 12v, Test - 1000, 2000, STACKERS - S1600 · 1.600 mm · 2.077 mm · 1.600 mm, M200 · 2.000 mm · 1.577 mm, M250 · 2.500 mm · 1.827 mm, M300 · 3.000 mm · 2.077 mm, M350 · 3.500 mm · 2.327 mm, 1000, 1500, Inside, External, Positionable, 12v, STACKERS - S1600 · 1.600 mm · 2.077 mm · 1.600 mm, M200 · 2.000 mm · 1.577 mm, M250 · 2.500 mm · 1.827 mm, M300 · 3.000 mm · 2.077 mm, M350 · 3.500 mm · 2.327 mm, 1000, 1500, Inside, External, Positionable, 12v, STACKERS - S1600 · 1.600 mm · 2.077 mm · 1.600 mm, M200 · 2.000 mm · 1.577 mm, M250 · 2.500 mm · 1.827 mm, M300 · 3.000 mm · 2.077 mm, M350 · 3.500 mm · 2.327 mm, 1000, 1500, Inside, External, Positionable, 12v, Test ";
Regards,
Phoca Cart Filter Module duplicate filter · TypeError: Cannot set properties of null
-
- Phoca Newbie
- Posts: 5
- Joined: 10 Apr 2025, 20:47
- Benno
- Phoca Hero
- Posts: 9693
- Joined: 04 Dec 2008, 11:58
- Location: Germany
- Contact:
Re: Phoca Cart Filter Module duplicate filter · TypeError: Cannot set properties of null
Hi,
more informations needed:
Which Joomla version?
Which Phoca Cart component version?
Which Phoca Cart Filter Module version?
Which Call Stack? (Enable Joomla Debug Modus and set Joomla Error Reporting=Maximum)
Which PHP version?
Kind regards,
Benno
more informations needed:
Which Joomla version?
Which Phoca Cart component version?
Which Phoca Cart Filter Module version?
Which Call Stack? (Enable Joomla Debug Modus and set Joomla Error Reporting=Maximum)
Which PHP version?
Kind regards,
Benno
-
- Phoca Newbie
- Posts: 5
- Joined: 10 Apr 2025, 20:47
Re: Phoca Cart Filter Module duplicate filter · TypeError: Cannot set properties of null
Hi, I've reviewed the request, and view that it's a combination of Phoca Cart and PCuikit. I've sent it to PCuikit to review it.
Thanks for helping me find the error.
Thanks for helping me find the error.
- Benno
- Phoca Hero
- Posts: 9693
- Joined: 04 Dec 2008, 11:58
- Location: Germany
- Contact:
Re: Phoca Cart Filter Module duplicate filter · TypeError: Cannot set properties of null
Ok.
Kind regards,
Benno
Kind regards,
Benno