Home › Forums › Backend Issues (wp-admin) › ReferenceError: wp is not defined in input.min.js › Reply To: ReferenceError: wp is not defined in input.min.js
I know this is old but since is still unsolved, and i had the same issue with input.js
the solution i came up with was force brute radical but it seems to work… i just commented out the part that adds up that file in acf.php
// register acf scripts
$scripts = array();
$scripts[] = array(
'handle' => 'acf-field-group',
'src' => $this->settings['dir'] . "js/field-group{$min}.js",
'deps' => array('jquery')
);
// $scripts[] = array(
// 'handle' => 'acf-input',
// 'src' => $this->settings['dir'] . "js/input.js",
// 'deps' => array('jquery', 'jquery-ui-core', 'jquery-ui-datepicker')
// );
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.