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

#   Custom fields filters not working anymore (1604)

##

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

Less More

- Posts: 6
- Thank you received: 0
-
-

11 years 8 months ago -  11 years 8 months ago [\#193943](#193943) by [flyingplanet](/forum/user/32015-flyingplanet "View flyingplanet's Profile")  *[Custom fields filters not working anymore (1604)](/forum/45-filters-search/875546-custom-fields-filters-not-working-anymore-1604#193943 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.0 -- PHP version -- : 5.4.17 -- Error-message(debug-mod must be tuned on) -- : Erreur: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'OR b.certification&#95;en LIKE 'EN A,%' OR b.certification&#95;en LIKE '%,EN A' OR b.cer' at line 1 SQL=SELECT DISTINCT b.&#42; , case when b.price&#95;currency&#95;id IS NULL then 0 when b.price&#95;currency&#95;id = '1' and b.product&#95;tax&#95;id = '11' then b.price&#95;value+b.price&#95;value&#42;0.2 when b.price&#95;currency&#95;id = '1' and b.product&#95;tax&#95;id = '35' then b.price&#95;value+b.price&#95;value&#42;0 when b.price&#95;currency&#95;id = '1' and b.product&#95;tax&#95;id = '36' then b.price&#95;value+b.price&#95;value&#42;0.055 when b.price&#95;currency&#95;id = '1' and b.product&#95;tax&#95;id NOT IN ('11','35','36') then b.price&#95;value end as product&#95;price&#95;normalized FROM ls19i&#95;hikashop&#95;product&#95;category AS a LEFT JOIN (SELECT &#42; FROM ls19i&#95;hikashop&#95;product AS product3 LEFT JOIN ls19i&#95;hikashop&#95;price AS price3 ON product3.product&#95;id=price3.price&#95;product&#95;id WHERE (price3.price&#95;access = 'all' OR price3.price&#95;access LIKE '%,1,%' OR ISNULL(price3.price&#95;access)) AND product3.product&#95;type='main' GROUP BY product3.product&#95;id ORDER BY price3.price&#95;min&#95;quantity ASC) AS b ON a.product&#95;id=b.product&#95;id INNER JOIN ls19i&#95;hikashop&#95;category AS Marque2 ON Marque2.category&#95;id=b.product&#95;manufacturer&#95;id AND b.product&#95;manufacturer&#95;id IN (28) WHERE b.product&#95;published=1 AND b.product&#95;type = 'main' AND a.category&#95;id IN (15) AND b.product&#95;quantity!=0 AND (b.product&#95;access = 'all' OR b.product&#95;access LIKE '%,1,%') AND (b.certification&#95;en = 'EN A' OR OR b.certification&#95;en LIKE 'EN A,%' OR b.certification&#95;en LIKE '%,EN A' OR b.certification&#95;en LIKE '%,EN A,%') ORDER BY product&#95;price&#95;normalized&#42;1 DESC LIMIT 0, 20  Hi!  I have three filters on this page (   www.parapente-normandie.com/shop/categorie/voiles  ), and the first one (&quot;certification&quot;) is not working anymore, I get a 1604 error when I use it. It used to work, and I guess it's not working after an update. What's wrong? Thank you")* was created by *[flyingplanet](/forum/user/32015-flyingplanet "View flyingplanet's Profile")*

-- HikaShop version -- : 2.4.0
-- Joomla version -- : 3.4.0
-- PHP version -- : 5.4.17
-- Error-message(debug-mod must be tuned on) -- : Erreur: 1064
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'OR b.certification_en LIKE 'EN A,%' OR b.certification_en LIKE '%,EN A' OR b.cer' at line 1 SQL=SELECT DISTINCT b.* , case when b.price_currency_id IS NULL then 0 when b.price_currency_id = '1' and b.product_tax_id = '11' then b.price_value+b.price_value*0.2 when b.price_currency_id = '1' and b.product_tax_id = '35' then b.price_value+b.price_value*0 when b.price_currency_id = '1' and b.product_tax_id = '36' then b.price_value+b.price_value*0.055 when b.price_currency_id = '1' and b.product_tax_id NOT IN ('11','35','36') then b.price_value end as product_price_normalized FROM ls19i_hikashop_product_category AS a LEFT JOIN (SELECT * FROM ls19i_hikashop_product AS product3 LEFT JOIN ls19i_hikashop_price AS price3 ON product3.product_id=price3.price_product_id WHERE (price3.price_access = 'all' OR price3.price_access LIKE '%,1,%' OR ISNULL(price3.price_access)) AND product3.product_type='main' GROUP BY product3.product_id ORDER BY price3.price_min_quantity ASC) AS b ON a.product_id=b.product_id INNER JOIN ls19i_hikashop_category AS Marque2 ON Marque2.category_id=b.product_manufacturer_id AND b.product_manufacturer_id IN (28) WHERE b.product_published=1 AND b.product_type = 'main' AND a.category_id IN (15) AND b.product_quantity!=0 AND (b.product_access = 'all' OR b.product_access LIKE '%,1,%') AND (b.certification_en = 'EN A' OR OR b.certification_en LIKE 'EN A,%' OR b.certification_en LIKE '%,EN A' OR b.certification_en LIKE '%,EN A,%') ORDER BY product_price_normalized*1 DESC LIMIT 0, 20

Hi!

I have three filters on this page ( [ www.parapente-normandie.com/shop/categorie/voiles](http://www.parapente-normandie.com/shop/categorie/voiles) ), and the first one ("certification") is not working anymore, I get a 1604 error when I use it.
It used to work, and I guess it's not working after an update. What's wrong?
Thank you

Last edit: 11 years 8 months ago by [flyingplanet](/forum/user/32015-flyingplanet "View flyingplanet's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzg3NTU0Ni1jdXN0b20tZmllbGRzLWZpbHRlcnMtbm90LXdvcmtpbmctYW55bW9yZS0xNjA0P3RtcGw9bWFya2Rvd24=) 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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

11 years 8 months ago [\#193956](#193956) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Custom fields filters not working anymore (1604)](/forum/45-filters-search/875546-custom-fields-filters-not-working-anymore-1604#193956 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.0 -- PHP version -- : 5.4.17 -- Error-message(debug-mod must be tuned on) -- : Erreur: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'OR b.certification&#95;en LIKE 'EN A,%' OR b.certification&#95;en LIKE '%,EN A' OR b.cer' at line 1 SQL=SELECT DISTINCT b.&#42; , case when b.price&#95;currency&#95;id IS NULL then 0 when b.price&#95;currency&#95;id = '1' and b.product&#95;tax&#95;id = '11' then b.price&#95;value+b.price&#95;value&#42;0.2 when b.price&#95;currency&#95;id = '1' and b.product&#95;tax&#95;id = '35' then b.price&#95;value+b.price&#95;value&#42;0 when b.price&#95;currency&#95;id = '1' and b.product&#95;tax&#95;id = '36' then b.price&#95;value+b.price&#95;value&#42;0.055 when b.price&#95;currency&#95;id = '1' and b.product&#95;tax&#95;id NOT IN ('11','35','36') then b.price&#95;value end as product&#95;price&#95;normalized FROM ls19i&#95;hikashop&#95;product&#95;category AS a LEFT JOIN (SELECT &#42; FROM ls19i&#95;hikashop&#95;product AS product3 LEFT JOIN ls19i&#95;hikashop&#95;price AS price3 ON product3.product&#95;id=price3.price&#95;product&#95;id WHERE (price3.price&#95;access = 'all' OR price3.price&#95;access LIKE '%,1,%' OR ISNULL(price3.price&#95;access)) AND product3.product&#95;type='main' GROUP BY product3.product&#95;id ORDER BY price3.price&#95;min&#95;quantity ASC) AS b ON a.product&#95;id=b.product&#95;id INNER JOIN ls19i&#95;hikashop&#95;category AS Marque2 ON Marque2.category&#95;id=b.product&#95;manufacturer&#95;id AND b.product&#95;manufacturer&#95;id IN (28) WHERE b.product&#95;published=1 AND b.product&#95;type = 'main' AND a.category&#95;id IN (15) AND b.product&#95;quantity!=0 AND (b.product&#95;access = 'all' OR b.product&#95;access LIKE '%,1,%') AND (b.certification&#95;en = 'EN A' OR OR b.certification&#95;en LIKE 'EN A,%' OR b.certification&#95;en LIKE '%,EN A' OR b.certification&#95;en LIKE '%,EN A,%') ORDER BY product&#95;price&#95;normalized&#42;1 DESC LIMIT 0, 20  Hi!  I have three filters on this page (   www.parapente-normandie.com/shop/categorie/voiles  ), and the first one (&quot;certification&quot;) is not working anymore, I get a 1604 error when I use it. It used to work, and I guess it's not working after an update. What's wrong? Thank you")*

Hi,

I don't see why it would do that.
Please provide a FTP access and a backend access to the website along with a link to this thread via our contact form so that we can look at that issue:
[ www.hikashop.com/support/contact-us.html](https://www.hikashop.com/support/contact-us.html)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzg3NTU0Ni1jdXN0b20tZmllbGRzLWZpbHRlcnMtbm90LXdvcmtpbmctYW55bW9yZS0xNjA0P3RtcGw9bWFya2Rvd24=) 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.053 seconds

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