Console error on Hugo static blog site

Hi there,

I am getting this console error:

Uncaught TypeError: Cannot read properties of null (reading 'setAttribute')
    at 91387 (main.js:2:24418)
    at n (main.js:2:425119)
    at main.js:2:425615
    at main.js:2:425697

After following main.js line I am taken to this code:

const w = document.querySelector("#sib-form");
            w.setAttribute("novalidate", "true");
            const D = document.querySelector("form#sib-form input[name='email_address_check'].input--hidden");

On the left side the main.js is within:
sibforms.com > forms/end-form/build

Is this actually coming from Brevo code, if yes then how can I fix it? Thanks

Hi @semshow , thanks for posting on this community.

How did you get this error: you installed Brevo snippet and the error arose?