Support

Account

Home Forums Front-end Issues Console Errors

Solved

Console Errors

  • Hello,

    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!

    Kind regards

  • UPDATE: This is when I insert the ACF Form script in the header

  • Hi @emangham

    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.

    Thanks 🙂

  • Hello,

    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

    Kind regards

  • Appears to be related to jQuery, I had a script calling in the latest version of jQuery via CDN but that breaks ACF Form. If I don’t include it, there are no errors

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

The topic ‘Console Errors’ is closed to new replies.