For some bizarre reason one of my sites keeps getting the following console errors, which seems related to ACF. I am on the latest version of WordPress and ACF…
Uncaught TypeError: Cannot read property 'mouse' of undefined at draggable.min.js:11 at draggable.min.js:11 at draggable.min.js:11 slider.min.js:11 Uncaught TypeError: Cannot read property 'mouse' of undefined at slider.min.js:11 at slider.min.js:11 at slider.min.js:11 iris.min.js?ver=1.0.7:4 Uncaught TypeError: a.widget is not a function at iris.min.js?ver=1.0.7:4 at iris.min.js?ver=1.0.7:4 color-picker.min.js:1 Uncaught TypeError: a.widget is not a function at color-picker.min.js:1 at color-picker.min.js:1 acf-input.min.js?ver=5.5.2:2 Uncaught TypeError: Cannot set property 'locales' of undefined at Object.l10n_v3 (acf-input.min.js?ver=5.5.2:2) at Object.ready (acf-input.min.js?ver=5.5.2:2) at d (acf-input.min.js?ver=5.5.2:1) at Object.i (acf-input.min.js?ver=5.5.2:1) at Object.do_action (acf-input.min.js?ver=5.5.2:1) at HTMLDocument.<anonymous> (acf-input.min.js?ver=5.5.2:1) at i (jquery.js?ver=1.12.4:2) at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4:2) at Function.ready (jquery.js?ver=1.12.4:2) at HTMLDocument.K (jquery.js?ver=1.12.4:2)
Please help, or advise!
It seems there’s a conflict with your theme. Could you please try to reproduce the issue on one of the WordPress’ stock themes (like Twenty Sixteen) with only ACF activated? If it disappears, then you can activate the theme and plugins one by one to see which one causes the issue.
I have tried disabling every single plugin (except ACF Pro) and the issue still persists. I’m using a very basic set-up so I’m not sure it’s a theme issue either.
It happens when I add <?php acf_form_head(); ?> to the header
Thanks for the help
The topic ‘Console Errors’ is closed to new replies.
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!
© 2022 Advanced Custom Fields.