• Resolved jc21

    (@jc21)


    Just installed this plugin, didn’t change any settings, visited the home page and yes the consent bar rendered but there are numerous javascript errors about functions that don’t exist. The “Allow” button doesn’t function as a result, probably already reported.

    Uncaught TypeError: t(...).on is not a function
        at Object.init (main.js?ver=1.0.6:1)
        at Object.fire (main.js?ver=1.0.6:1)
        at HTMLDocument.loadEvents (main.js?ver=1.0.6:1)
        at Object.resolveWith (jquery-1.6.1.min.js?ver=18.03.13:16)
        at Function.ready (jquery-1.6.1.min.js?ver=18.03.13:16)
        at HTMLDocument.z (jquery-1.6.1.min.js?ver=18.03.13:16)
    
    Uncaught Error: Uncaught TypeError: t(...).on is not a function - https://localwebsite/wp-content/plugins/gdpr-cookie-compliance/dist/scripts/main.js?ver=1.0.6: 1
        at Object.error (main.js?ver=1.0.6:1)
        at m.win.onerror (main.js?ver=1.0.6:1)
    
    Uncaught TypeError: e(...).on is not a function
        at lity.js:1
        at lity.js:1
        at lity.js:1
    
    Uncaught Error: Uncaught TypeError: e(...).on is not a function - https://localwebsite/wp-content/plugins/gdpr-cookie-compliance/dist/scripts/lity.js: 1
        at Object.error (main.js?ver=1.0.6:1)
        at m.win.onerror (main.js?ver=1.0.6:1)
    

    Wordpress version: 4.9.5–en_AU
    Plugin version: 1.0.6

    • This topic was modified 6 years, 9 months ago by jc21.
Viewing 1 replies (of 1 total)
  • Thread Starter jc21

    (@jc21)

    Ahh nevermind me. Our stupidly outdated theme was using jquery 1.6, instead of the minimum 1.7 that is required by your plugin.

Viewing 1 replies (of 1 total)
  • The topic ‘Javascript errors’ is closed to new replies.