Streaming live at 10am (PST)

Code error makes mailchimp not working


#1

sharelink
Actually site

Hi
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?


#2

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.


#3

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


#4

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


#5

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?


#6

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


#7