Hello,
I have updated the plugin to version 2.11.1, but in my cart the following error occurs:
TypeError: Cannot read properties of null (reading ‘value’)
at itemName (index.js?v=17176681781479:1:505)
The following JS script is the code the error is referring to. It appears that the field ‘eu-vat-for-woocommerce’ is not available.
565: ()=>{
window.React,
window.wp.plugins;
const e = window.wc.blocksCheckout
, o = window.wc.wcSettings
, {optInDefaultText: r} = (window.wc.wcBlocksRegistry,
window.wp.i18n,
window.wp.element,
window.wp.data,
(0,
o.getSetting)("eu-vat-for-woocommerce_data", ""))
, {registerCheckoutBlock: t} = wc.blocksCheckout
, {hasError: n} = !1;
(0,
o.getSetting)("eu-vat-for-woocommerce_data"),
(0,
e.registerCheckoutFilters)("eu-vat-for-woocommerce", {
itemName: (e,o,r)=>(document.getElementById("billing_eu_vat_number").value,
e)
})
}
My cart is not visible and showing the following error:
Unexpected error in: woocommerce/cart-line-items-block, Error:?Cannot read properties of null (reading ‘value’)