Streaming live at 10am (PST)

Code error makes mailchimp not working

Actually site

I have a problem that started out with Mailchimp not working.
With a little help from webflow staff they have found a error, but I don’t understand how to fix this.

Can someone please help me?

If you click the link on the right of the error, it will show you the line is causing it.

In this case, there is no element on the page which has an ID of nok, so the entire page stops running scripts as there is an error.

That is strange, because its a long time since I added this scrip. Any ide what is wrong?

If I press the red X it sais: Uncaught TypeError: Cannot set property ‘onclick’ of null

I already explained it above. null means there is no such element on the page.

Thank you @samliew

I fixed that code but it still not working. But now its a new code error.

Anything that makes sense to you?

I think it’s because all the mailchimp fields are required, when only the email is provided.