If for some reason the element selection made in line 62 of assets/js/frontend/order-attribution.js at version 8.5.2 does not find the element, it throws an error that is not handled gracefully (Uncaught TypeError: Cannot set properties of null (setting ‘value’)). That stops the code execution on assets/js/frontend/checkout.js, causing among other things, that the coupon toggler link does not work.
Hey there, @mdifelice! Thanks for contacting us. I’m happy to help you.
Can you please share more details so we can assist ou further?
When exactly is the issue happening? Can you share the steps we can take to try to replicate it?
Furthermore, I’d like to understand your site properly. Please share with us the necessary information below for us to investigate the issue further:
System Status Report which you can find via WooCommerce > Status > Get system report > Copy for support. Fatal error logs (if any) under WooCommerce > Status > Logs. Then you can use the selector to search for Fatal Errors. You could copy and paste your reply here or paste it via https://gist.github.com/ and send the link here.
Per WordPress forum guidelines, would you mind opening up a new thread for this so that we can keep things organized and offer more personalized support for you? We’ll be happy to help you out with this over there!
When you do please share the information you shared here along with the System Status Report (which you can find via WooCommerce > Status > Get system report > Copy for support.) so we can investigate this further.