Home › Forums › Add-ons › Options Page › Uncaught ReferenceError: acf is not defined › Reply To: Uncaught ReferenceError: acf is not defined
This fix works for me and I hope you can pass it along to the developer as it’s very reliable.
There are 2 places I found where this needs to be implemented:
core/controllers/input.php Line 102
core/controllers/field_group.php Line 375
Change jQuery wrapper from:
(function($) {
...
})(jQuery);
To (note the $ moved):
var $ = jQuery.noConflict();
$(function() {
...
});
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.