• Resolved Stefano Lissa

    (@satollo)


    Hi, on our plugin page which uses the wp color picker, we have a lot of error of this kind:

    Uncaught TypeError: Cannot set property ‘toString’ of undefined
    at wp-color-picker-alpha-min.js?ver=1.9.2:1
    at wp-color-picker-alpha-min.js?ver=1.9.2:1

    where the js is loaded from the vender folder of awesome support. The error seems to block the execution of other scripts.

    Could you load that script only on awesome support pages?

    Thank you, Stefano.

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

    (@awesomesupport)

    Hi:

    What plugin is this conflicting with? It takes at least one other plugin conflicting to cause this behavior.

    Thanks.

    Thread Starter Stefano Lissa

    (@satollo)

    With some admin panel of Newsletter. That error appears whenever another plugin uses the wp color picker.

    Stefano.

    Plugin Author awesomesupport

    (@awesomesupport)

    Hi:

    I’ve added this as something to look at for future releases. Though from what I can tell we already restrict it to just the pages we use in admin. But maybe there’s a bug in the code that is causing it load on other pages.

    Thread Starter Stefano Lissa

    (@satollo)

    The problem seems to be in the titan framework which registers the theme customizer controls apparently when in the admin side.

    Stefano.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘JS error on other plugin pages’ is closed to new replies.