Support

Account

Home Forums Bug Reports Wp Color picker problem

Unread

Wp Color picker problem

  • Greetings,
    A javascript error is occurring in the wp-color-picker library that is causing problems in my web. This is the console message:

    Uncaught TypeError: Cannot read properties of undefined (reading ‘iris’)
    at wp-color-picker-alpha.js?ver=3.0.0:62
    at wp-color-picker-alpha.js?ver=3.0.0:707
    (anonymous) @ wp-color-picker-alpha.js?ver=3.0.0:62
    (anonymous) @ wp-color-picker-alpha.js?ver=3.0.0:707

    Uncaught TypeError: jQuery(…).wpColorPicker is not a function
    at HTMLDocument.<anonymous> (post.php?post=24&action=edit:2354)
    at fire (jquery-1.12.4.js?ver=5.8.2:3232)
    at Object.fireWith [as resolveWith] (jquery-1.12.4.js?ver=5.8.2:3362)
    at Function.ready (jquery-1.12.4.js?ver=5.8.2:3582)
    at HTMLDocument.completed (jquery-1.12.4.js?ver=5.8.2:3617)

    The js file is in ACF folder:
    wp-content/plugins/advanced-custom-fields/assets/inc/color-picker-alpha/wp-color-picker-alpha.js?ver=3.0.0-b-modified-1638109448

    Any idea of how to fix this problem?

    Thanks

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.