Support

Account

Home Forums General Issues Modernizr not defined

Helping

Modernizr not defined

  • Hi, on the pages where I’m using a custom post type with ACFs I get the following error in the console.

    foundation.js:1 Uncaught ReferenceError: Modernizr is not defined(anonymous function) @ foundation.js:1n.event.dispatch @ jquery.min.js:3r.handle @ jquery.min.js:3

    I do not use Modernizr, and this error doesn’t show up on any other pages.

    Thanks for any help on this.

    jim

  • Hi @jimlongo

    I believe ACF doesn’t have a JS file called foundation.js either. It’s possible that the error was caused by your other plugins. Could you please try to reproduce the issue on one of the WordPress’ stock themes (like Twenty Fifteen) with other plugins deactivated? If it disappears, then you can activate the theme and plugins one by one to see which one causes the issue.

    Thanks!

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.