I’m getting an error which I think is from ACF.
It prevents my Ninja Forms to submit.
It’s about this site: http://www.tandarts-nootdorp.nl
Almost all pages throw this error. The only exception is http://tandarts-nootdorp.nl/behandelingen/ (and all sub pages), which don’t throw the error.
My template relies heavily on ACF.
I’ve tried disabling all plugins but ACF but this does not help.
If I disable ACF, the template breaks and only the logo appears.
I have no clue how to further debug this.
Is this an ACF issue or am I doing something wrong?
Screenshot of the issue:
It looks like you’re using the example code for google maps in your theme.
You should put this code inside a js file instead of directly in your template.
Your issue is not with ACF but rather your jquery.. I’m guessing you’ve already set up jquery to use $.
You should put the code without the outer wrapping stuff inside your script.js (or similar) file in your theme and within a $(document).ready() function.
I totally forgot I left the example code in there.
Thanks a lot!