• Hi,

    The plugin is causing the following JavaScript/jQuery error in customizer:

    Uncaught TypeError: can’t access property “container”, customize.control(…) is undefined. in “wordpress.site/wp-content/plugins/cookie-notice-and-consent-bannercookie-notice-and-consent-banner//js/customizer.js?ver=1.7.4”

    Since the error seems to occur only under certain conditions it seems the loadscript.php doesn’t load all resources under certain plugin constellations.

    It may be necessary to update the script with a “typeof” request to check if the function is defined before calling it and call on another function which would then define the required customize.control(…) function in case the “typeof” request comes back with an “undefined” response.

    The error also occurs in other Dashboard/wp-admin areas which access plugin resources.

    Environment used is: Elementor Free / Theme: OceanWP / WordPress Whitelabel / WP Hide.

    Cheers

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter ullikah

    (@ullikah)

    Hello Team,
    Is this issue going to be addressed or has the plugin been abandoned.
    I feel tempted to report this to the WordPress crew to have this plugin removed because its causing quite a few issues in the Dashboard when activated.

    Plugin Contributor Slava Shevchenko

    (@kaganvmz)

    @ullikah Hi. Thanks for reporting the bug. We are on it. We will fix it as soon as possible.

    Plugin Contributor Slava Shevchenko

    (@kaganvmz)

    @ullikah Could you please provide us with steps to reproduce the bug? I’ve just checked everything works in a proper way.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Customizer Javascript error in plugin’ is closed to new replies.