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

#   Erreur js au vote

##

- **[Minie](/forum/user/43321-minie "View Minie's Profile")**
- [![Minie's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar43321.jpg)](/forum/user/43321-minie "View Minie's Profile") Topic Author
- [ Offline](/forum/user/43321-minie)

Less More

- Posts: 511
- Thank you received: 37
-
-
-

2 years 10 months ago [\#357866](#357866) by [Minie](/forum/user/43321-minie "View Minie's Profile")  *[Erreur js au vote](/forum/5-support-en-francais-french-support-/907515-erreur-js-au-vote#357866 "-- HikaShop version -- : 4.7.1 -- Joomla version -- : 3.10.11 -- PHP version -- : 8.0.30 -- Browser(s) name and version -- : Chrome  Bonjour,  j'espère que vous avez passé un bon Noel.  Je viens de constater une erreur js lorsque je tente de poser un vote : vote.js:112 Uncaught TypeError: Cannot read properties of null (reading 'error') at vote.js:112:17 en référence au fichier media/com&#95;hikashop/js/vote.js  Avez vous une petite idée à première vue ou voulez vous plus de détails / accès ?  Merci d'avance  Bien cordialement")* was created by *[Minie](/forum/user/43321-minie "View Minie's Profile")*

-- HikaShop version -- : 4.7.1
-- Joomla version -- : 3.10.11
-- PHP version -- : 8.0.30
-- Browser(s) name and version -- : Chrome

Bonjour,

j'espère que vous avez passé un bon Noel.

Je viens de constater une erreur js lorsque je tente de poser un vote :
vote.js:112 Uncaught TypeError: Cannot read properties of null (reading 'error')
at vote.js:112:17
en référence au fichier media/com_hikashop/js/vote.js

Avez vous une petite idée à première vue ou voulez vous plus de détails / accès ?

Merci d'avance

Bien cordialement

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vOTA3NTE1LWVycmV1ci1qcy1hdS12b3RlP3RtcGw9bWFya2Rvd24=) 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: 86587
- Thank you received: 14325
-
-

2 years 10 months ago [\#357873](#357873) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Erreur js au vote](/forum/5-support-en-francais-french-support-/907515-erreur-js-au-vote#357873 "-- HikaShop version -- : 4.7.1 -- Joomla version -- : 3.10.11 -- PHP version -- : 8.0.30 -- Browser(s) name and version -- : Chrome  Bonjour,  j'espère que vous avez passé un bon Noel.  Je viens de constater une erreur js lorsque je tente de poser un vote : vote.js:112 Uncaught TypeError: Cannot read properties of null (reading 'error') at vote.js:112:17 en référence au fichier media/com&#95;hikashop/js/vote.js  Avez vous une petite idée à première vue ou voulez vous plus de détails / accès ?  Merci d'avance  Bien cordialement")*

Bonjour,

Cette erreur indique que le javascript ne trouve aucun dropdown qui devrait être affiché avec le listing des commentaires suite à sa mise à jour après l'envoi du vote.
Donc normalement cela ne devrait pas empêcher le fonctionnement normal.
Après, il faudrait avoir accès à la page en question pour reproduire le souci histoire d'étudier plus en détails la situation.

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

- **[Minie](/forum/user/43321-minie "View Minie's Profile")**
- [![Minie's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar43321.jpg)](/forum/user/43321-minie "View Minie's Profile") Topic Author
- [ Offline](/forum/user/43321-minie)

Less More

- Posts: 511
- Thank you received: 37
-
-
-

2 years 10 months ago [\#357887](#357887) by [Minie](/forum/user/43321-minie "View Minie's Profile")  Replied by *[Minie](/forum/user/43321-minie "View Minie's Profile")* on topic *[Erreur js au vote](/forum/5-support-en-francais-french-support-/907515-erreur-js-au-vote#357887 "-- HikaShop version -- : 4.7.1 -- Joomla version -- : 3.10.11 -- PHP version -- : 8.0.30 -- Browser(s) name and version -- : Chrome  Bonjour,  j'espère que vous avez passé un bon Noel.  Je viens de constater une erreur js lorsque je tente de poser un vote : vote.js:112 Uncaught TypeError: Cannot read properties of null (reading 'error') at vote.js:112:17 en référence au fichier media/com&#95;hikashop/js/vote.js  Avez vous une petite idée à première vue ou voulez vous plus de détails / accès ?  Merci d'avance  Bien cordialement")*

Bonjour,

merci pour votre réponse.

voici un exemple de page :
[ boyaux-saucisses-epices-conserves.com/fr...-6-en-1-xdivpres-ham](https://boyaux-saucisses-epices-conserves.com/fr/tous-les-produits/produit/1531-presse-a-hamburger-6-en-1-xdivpres-ham)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vOTA3NTE1LWVycmV1ci1qcy1hdS12b3RlP3RtcGw9bWFya2Rvd24=) 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: 86587
- Thank you received: 14325
-
-

2 years 10 months ago [\#357890](#357890) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Erreur js au vote](/forum/5-support-en-francais-french-support-/907515-erreur-js-au-vote#357890 "-- HikaShop version -- : 4.7.1 -- Joomla version -- : 3.10.11 -- PHP version -- : 8.0.30 -- Browser(s) name and version -- : Chrome  Bonjour,  j'espère que vous avez passé un bon Noel.  Je viens de constater une erreur js lorsque je tente de poser un vote : vote.js:112 Uncaught TypeError: Cannot read properties of null (reading 'error') at vote.js:112:17 en référence au fichier media/com&#95;hikashop/js/vote.js  Avez vous une petite idée à première vue ou voulez vous plus de détails / accès ?  Merci d'avance  Bien cordialement")*

Bonjour,

Essayez de changer : Code:

if(hkjQuery().chosen) hkjQuery('#' + section.id + ' select').chosen();

en: Code:

if(hkjQuery().chosen &amp;&amp; hkjQuery('#' + section.id + ' select')) { hkjQuery('#' + section.id + ' select').chosen(); }

dans le fichier media/com_hikashop/js/vote.js (2 endroits)
et cela devrait éviter l'erreur JS après avoir vidé le cache du navigateur.

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

- **[Minie](/forum/user/43321-minie "View Minie's Profile")**
- [![Minie's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar43321.jpg)](/forum/user/43321-minie "View Minie's Profile") Topic Author
- [ Offline](/forum/user/43321-minie)

Less More

- Posts: 511
- Thank you received: 37
-
-
-

2 years 10 months ago [\#358088](#358088) by [Minie](/forum/user/43321-minie "View Minie's Profile")  Replied by *[Minie](/forum/user/43321-minie "View Minie's Profile")* on topic *[Erreur js au vote](/forum/5-support-en-francais-french-support-/907515-erreur-js-au-vote#358088 "-- HikaShop version -- : 4.7.1 -- Joomla version -- : 3.10.11 -- PHP version -- : 8.0.30 -- Browser(s) name and version -- : Chrome  Bonjour,  j'espère que vous avez passé un bon Noel.  Je viens de constater une erreur js lorsque je tente de poser un vote : vote.js:112 Uncaught TypeError: Cannot read properties of null (reading 'error') at vote.js:112:17 en référence au fichier media/com&#95;hikashop/js/vote.js  Avez vous une petite idée à première vue ou voulez vous plus de détails / accès ?  Merci d'avance  Bien cordialement")*

Bonjour,

merci, l'avis est bien posté maintenant, mais deux fois :blink:

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vOTA3NTE1LWVycmV1ci1qcy1hdS12b3RlP3RtcGw9bWFya2Rvd24=) 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: 86587
- Thank you received: 14325
-
-

2 years 10 months ago [\#358089](#358089) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Erreur js au vote](/forum/5-support-en-francais-french-support-/907515-erreur-js-au-vote#358089 "-- HikaShop version -- : 4.7.1 -- Joomla version -- : 3.10.11 -- PHP version -- : 8.0.30 -- Browser(s) name and version -- : Chrome  Bonjour,  j'espère que vous avez passé un bon Noel.  Je viens de constater une erreur js lorsque je tente de poser un vote : vote.js:112 Uncaught TypeError: Cannot read properties of null (reading 'error') at vote.js:112:17 en référence au fichier media/com&#95;hikashop/js/vote.js  Avez vous une petite idée à première vue ou voulez vous plus de détails / accès ?  Merci d'avance  Bien cordialement")*

Bonjour,

Je n'arrive pas à reproduire le souci sur votre site. Pourriez-vous confirmer ?
Pourriez-vous fournir plus d'information sur comment vous procédez pour reproduire le souci ?

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

- **[Minie](/forum/user/43321-minie "View Minie's Profile")**
- [![Minie's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar43321.jpg)](/forum/user/43321-minie "View Minie's Profile") Topic Author
- [ Offline](/forum/user/43321-minie)

Less More

- Posts: 511
- Thank you received: 37
-
-
-

2 years 10 months ago [\#358095](#358095) by [Minie](/forum/user/43321-minie "View Minie's Profile")  Replied by *[Minie](/forum/user/43321-minie "View Minie's Profile")* on topic *[Erreur js au vote](/forum/5-support-en-francais-french-support-/907515-erreur-js-au-vote#358095 "-- HikaShop version -- : 4.7.1 -- Joomla version -- : 3.10.11 -- PHP version -- : 8.0.30 -- Browser(s) name and version -- : Chrome  Bonjour,  j'espère que vous avez passé un bon Noel.  Je viens de constater une erreur js lorsque je tente de poser un vote : vote.js:112 Uncaught TypeError: Cannot read properties of null (reading 'error') at vote.js:112:17 en référence au fichier media/com&#95;hikashop/js/vote.js  Avez vous une petite idée à première vue ou voulez vous plus de détails / accès ?  Merci d'avance  Bien cordialement")*

Bonjour,

effectivement sans cache de navigateur ca passe correctement, merci beaucoup, problème résolu ![:)](/media/kunena/emoticons/3.png ":)")

Très bonne journée

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

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