# Console error on Hugo static blog site

**URL:** <https://community.brevo.com/t/console-error-on-hugo-static-blog-site/2564>\
**Category:** Other\
**Created:** [Novembre 24, 2024, 10:33 UTC](https://community.brevo.com/t/console-error-on-hugo-static-blog-site/2564 "2024-11-24T10:33:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![semshow](https://avatars.discourse-cdn.com/v4/letter/s/85f322/32.png) [@semshow](https://community.brevo.com/u/semshow)\
**Post date:** [Novembre 24, 2024, 10:33 UTC](https://community.brevo.com/t/console-error-on-hugo-static-blog-site/2564/1 "2024-11-24T10:33:56Z")

</div>

Hi there,

I am getting this console error:

```auto
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:

```auto
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

---

<div class="post-metadata">

**Author:** ![ahudavert](https://dub1.discourse-cdn.com/flex013/user_avatar/community.brevo.com/ahudavert/32/14_2.png) [@ahudavert](https://community.brevo.com/u/ahudavert)\
**Post date:** [Novembre 28, 2024, 8:55 UTC](https://community.brevo.com/t/console-error-on-hugo-static-blog-site/2564/2 "2024-11-28T08:55:50Z")

</div>

Hi @semshow , thanks for posting on this community.

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