JavaScript conflict with WP Dark Mode plugin
-
I am using the WC Gateway Stripe plugin with WP Dark Mode plugin.
They both are using a javascript variable called UE so there’s a conflict.
The description of the error is: https://prnt.sc/j_Gvuc40MITh
VM3768:1 Uncaught (in promise) ReferenceError: ue is not defined
at V (<anonymous>:1:2622)
at HTMLDocument.E [as styleSheets] (<anonymous>:1:2838)
at P (upe_classic.js?ver=9.0.0:1:62968)
at upe_classic.js?ver=9.0.0:1:120554
at C (upe_classic.js?ver=9.0.0:1:120938)
at r (upe_classic.js?ver=9.0.0:2:695)
at HTMLBodyElement.<anonymous> (upe_classic.js?ver=9.0.0:2:3816)
at HTMLBodyElement.dispatch (jquery.min.js?ver=3.7.1:2:40035)
at v.handle (jquery.min.js?ver=3.7.1:2:38006)
at Object.trigger (jquery.min.js?ver=3.7.1:2:70124)Because of this error, the credit card form is not showing in our checkout page.
The checkout page shows when we select “Use legacy checkout experience” in Stripe plugin settings.
Request your developers to fix the issue with the variable name “UE” in upe_classic.js file by changing its name so it don’t conflict with other plugin.
Thank you
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘JavaScript conflict with WP Dark Mode plugin’ is closed to new replies.