Support

Account

Home Forums Front-end Issues Console Errors

Solved

Console Errors

    • Elliott

    • December 20, 2016 at 11:45 pm

    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

    • Elliott

    • December 20, 2016 at 11:52 pm

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

    • James

    • December 21, 2016 at 12:32 pm

    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 🙂

    • Elliott

    • December 24, 2016 at 9:18 pm

    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

    • Elliott

    • December 24, 2016 at 9:23 pm

    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

  • Identify the Error. The error console will open. Select JavaScript and Errors from the two drop downs.

  • However, the ACF fields are not using this filter for the output, which means that, despite the fact that they can contain complex HTML structures and many site owners are using them to built their layouts, they won’t highlight the terms by default.

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

You must be logged in to reply to this topic.

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 Cookie Policy. If you continue to use this site, you consent to our use of cookies.