• Resolved watchpci

    (@watchpci)


    we have an exception / script error uc.js

    Uncaught TypeError: Cannot read property ‘initialize’ of undefined
    at (index):15
    at CookieControl.Cookie.runScripts (uc.js:1)
    at CookieControl.Cookie.triggerOnloadEvents (uc.js:1)
    at uc.js:1

    at line 15 source /*.html

    if (Cookiebot.consent.statistics && Cookiebot.consent.marketing) {
    jQuery (‘.wp-video-shortcode__disabled’) .addClass (‘wp-video-shortcode’) .removeClass (‘wp-video-shortcode__disabled’);
    jQuery (‘.wp-audio-shortcode__disabled’) .addClass (‘wp-audio-shortcode’) .removeClass (‘wp-audio-shortcode__disabled’);
    window.wp.mediaelement.initialize ();
    }

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author cookiebot

    (@cookiebot)

    Hi @watchpci

    Thanks for reaching out, and sorry for the delayed response!

    If you choose “manual” in the Cookie-blocking mode setting, the issues should be fixed.

    Sorry for any inconvenience.

    Thread Starter watchpci

    (@watchpci)

    Hello, on the plugin this set manual :-/ because if i put the automatic, we have a big problem, our site is broken

    Thread Starter watchpci

    (@watchpci)

    we put everything in automatic, and it’s still problematic

    if automatic =
    SCRIPT5007: Unable to get property ‘mediaelement’ of undefined or null reference
    http://www.watchpci.com (13,24)
    SCRIPT5009: SCRIPT5009: ‘Cookies’ is not defined
    woocommerce.min-3.8.0.js (1,352)
    SCRIPT5007: SCRIPT5007: Unable to get property ‘mediaelement’ of undefined or null reference
    http://www.watchpci.com (14,25)

    and I see a lot of slowness, and some pictures also not loaded

    • This reply was modified 4 years, 11 months ago by watchpci.
    Thread Starter watchpci

    (@watchpci)

    I put in manual so that it works at 99%

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Uncaught TypeError: Cannot read property ‘initialize’ of undefined’ is closed to new replies.