It seems that (just a guess, I'm not familiar with these) you have used acf-input-ace_code_editor
same handler twice for js
and css
to register js
and css
files in following lines (js handler is being overridden)
wp_register_script( 'acf-input-ace_code_editor', $this->settings['dir'] . 'js/input.js', array('acf-input'), $this->settings['version'] );
wp_register_style( 'acf-input-ace_code_editor', $this->settings['dir'] . 'css/input.css', array('acf-input'), $this->settings['version'] );
And then you have used
wp_enqueue_script(array(
'acf-input-ace_code_editor',
));
// styles
wp_enqueue_style(array(
'acf-input-ace_code_editor',
));
In this case, you should use different handlers for js
and css
when registering files, like
wp_register_script( 'acf-input-ace_code_editor_js', $this->settings['dir'] . 'js/input.js', array('acf-input'), $this->settings['version'] );
wp_register_style( 'acf-input-ace_code_editor_css', $this->settings['dir'] . 'css/input.css', array('acf-input'), $this->settings['version'] );
And then use
wp_enqueue_script(array(
'acf-input-ace_code_editor_js',
));
// styles
wp_enqueue_style(array(
'acf-input-ace_code_editor_css',
));
Hope this will enqueue the script properly if given path is right when registering and also make sure correct js
file is available at the given path.