[Skip to main content](#vessel-content)

#   Filter Not working in my site

##

- **[clkuo](/forum/user/57844-clkuo "View clkuo's Profile")**
- [![clkuo's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/57844-clkuo "View clkuo's Profile") Topic Author
- [ Offline](/forum/user/57844-clkuo)

Less More

- Posts: 12
- Thank you received: 2
-
-

5 years 1 week ago -  5 years 1 week ago [\#336236](#336236) by [clkuo](/forum/user/57844-clkuo "View clkuo's Profile")  *[Filter Not working in my site](/forum/45-filters-search/903296-filter-not-working-in-my-site#336236 "-- url of the page with the problem -- :   jm-drginger.conutri.com/index.php  -- HikaShop version -- : 4.4 -- Joomla version -- : 3.8 -- PHP version -- : 7.3 -- Error-message(debug-mod must be tuned on) -- :   jm-drginger.conutri.com/index.php  i add hikashop Filter get error on after search Uncaught TypeError: Cannot read property 'newURL' of null at hikashop.js?v=423:922 at XMLHttpRequest.xhr.onreadystatechange (hikashop.js?v=423:206)  but local site is ok    jm-drginger.conutri.com/index.php?lang=zh  search bar is on The bottom of the page  i look this   www.hikashop.com/forum/filters-search/89...g-in-some-areas.html  how to do for &#91;by the setting &quot;301 redirect from non-sef to sef URL&quot; of sh404SEF. Turning off that setting &#93; thank you")* was created by *[clkuo](/forum/user/57844-clkuo "View clkuo's Profile")*

-- url of the page with the problem -- : [ jm-drginger.conutri.com/index.php](http://jm-drginger.conutri.com/index.php)
-- HikaShop version -- : 4.4
-- Joomla version -- : 3.8
-- PHP version -- : 7.3
-- Error-message(debug-mod must be tuned on) -- : [ jm-drginger.conutri.com/index.php](http://jm-drginger.conutri.com/index.php)

i add hikashop Filter
get error on after search
Uncaught TypeError: Cannot read property 'newURL' of null
at hikashop.js?v=423:922
at XMLHttpRequest.xhr.onreadystatechange (hikashop.js?v=423:206)

but local site is ok

[ jm-drginger.conutri.com/index.php?lang=zh](http://jm-drginger.conutri.com/index.php?lang=zh)
search bar is on The bottom of the page

i look this
[ www.hikashop.com/forum/filters-search/89...g-in-some-areas.html](https://www.hikashop.com/forum/filters-search/899843-filter-not-working-in-some-areas.html)
how to do for [by the setting "301 redirect from non-sef to sef URL" of sh404SEF. Turning off that setting ]
thank you

Last edit: 5 years 1 week ago by [clkuo](/forum/user/57844-clkuo "View clkuo's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ZpbHRlcnMtc2VhcmNoLzkwMzI5Ni1maWx0ZXItbm90LXdvcmtpbmctaW4tbXktc2l0ZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14266
-
-

5 years 1 week ago [\#336245](#336245) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Filter Not working in my site](/forum/45-filters-search/903296-filter-not-working-in-my-site#336245 "-- url of the page with the problem -- :   jm-drginger.conutri.com/index.php  -- HikaShop version -- : 4.4 -- Joomla version -- : 3.8 -- PHP version -- : 7.3 -- Error-message(debug-mod must be tuned on) -- :   jm-drginger.conutri.com/index.php  i add hikashop Filter get error on after search Uncaught TypeError: Cannot read property 'newURL' of null at hikashop.js?v=423:922 at XMLHttpRequest.xhr.onreadystatechange (hikashop.js?v=423:206)  but local site is ok    jm-drginger.conutri.com/index.php?lang=zh  search bar is on The bottom of the page  i look this   www.hikashop.com/forum/filters-search/89...g-in-some-areas.html  how to do for &#91;by the setting &quot;301 redirect from non-sef to sef URL&quot; of sh404SEF. Turning off that setting &#93; thank you")*

Hi,

It seems that the problem comes from several things:
- you have the "force redirect" setting turned off in the settings of the HikaShop filter module in the Joomla modules manager. This means that when the module is displayed on a menu item of the type "HikaShop products / categories listing" it will stay on the current page and just refresh the main area where the listing of products is.
- your main menu item is apparently of the type HikaShop products / categories listing. Because of that the filter module tries to refresh the main area instead of switching to another page.
- your template doesn't display the main area of the page on the homepage which leads to the filter module not finding the area to refresh and failing.
So turn on the "force redirect" setting in your filter module and it should hopefully work. If not, make sure that in the "menu" setting of your module, you enter the id of a menu item of type "products listing" configured to display all the products and for which the template displays the main area of the page and it will work.

The following user(s) said Thank You: [clkuo](/forum/user/57844-clkuo "View clkuo's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ZpbHRlcnMtc2VhcmNoLzkwMzI5Ni1maWx0ZXItbm90LXdvcmtpbmctaW4tbXktc2l0ZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.128 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
