Skip to Content
Menu
This question has been flagged
523 Views

2~3 days ago I contented an error once I tried to open a product page. A message appears saying that an error happened and the user should contact the support team.

THE ERROR ONLY APPEARS WHEN I VISIT THE WEBSITE WITHOUT LOGIN.

I can just close the msg and continue what I'm doing. But for professional reasons I would like to stop this message.

_______________________________________________________________________________________

MSG ERROR: Something went wrong... If you really are stuck, share the report with your friendly support service

UncaughtPromiseError > TypeError

Uncaught Promise > ctaWrapper is null

Occurred on sedessi . de on 2025-01-22 10:34:45 GMT

TypeError: ctaWrapper is null

VariantMixin._onChangeCombinationStock@https : // sedessi . de/web/assets/1/e82251d/web.assets_frontend_lazy.min.js:11856:149  
VariantMixin._onChangeCombinationStock@https : // sedessi . de/web/assets/1/e82251d/web.assets_frontend_lazy.min.js:11892:464  
VariantMixin._onChangeCombinationStock@https : // sedessi . de/web/assets/1/e82251d/web.assets_frontend_lazy.min.js:11934:558  
_onChangeCombination@https : // sedessi . de/web/assets/1/e82251d/web.assets_frontend_lazy.min.js:11860:512  
OdooClass.extend/Class.include/</prototype[name]@https : // sedessi . de/web/assets/1/e82251d/web.assets_frontend_lazy.min.js:3068:375  
_onChangeCombination@https : // sedessi . de/web/assets/1/e82251d/web.assets_frontend_lazy.min.js:11896:390  
OdooClass.extend/Class.include/</prototype[name]@https : // sedessi . de/web/assets/1/e82251d/web.assets_frontend_lazy.min.js:3068:375  
_getCombinationInfo/<@https : // sedessi . de/web/assets/1/e82251d/web.assets_frontend_lazy.min.js:8887:6

_______________________________________________________________________________________

I also noticed that when I'm logged the id o_wsale_cta_wrapper is there and has been called from the wish list:
const $addQtyInput = $parent.find('input[name="add_qty"]'); let qty = $addQtyInput.val(); let ctaWrapper = $parent[0].querySelector('#o_wsale_cta_wrapper'); ctaWrapper.classList.replace('d-none','d-flex'); ctaWrapper.classList.remove('out_of_stock'); if (combination.is_storable && !combination.allow_out_of_stock_order) { combination.free_qty -= parseInt(combination.cart_qty); $addQtyInput.data('max', combination.free_qty || 1); if (combination.free_qty < 0) { combination.free_qty = 0; } }

Avatar
Discard
Related Posts Replies Views Activity
1
Mar 21
7415
0
Mar 15
6063
0
Jul 25
238
1
Jul 25
4999
0
Jul 25
549