Home Forums Calls to Action [Calls to Action] Javascript errors causing other plugins to fail

This topic contains 2 replies, has 2 voices, and was last updated by  Hudson Atwell 2 weeks, 1 day ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #132020

    jayreeder
    Participant

    I’m using the envira gallery plugin and when Call to Action plugin is activated, the admin interface for the Envira Gallery plugin is broken.

    The guys at Envira Gallery tipped me off to this. They are going to get me details to pass along. In the meantime, any recommendations? Have you seen this before?

    Thanks,
    Jay

    #132028

    jayreeder
    Participant

    I just received more details from the Envira developer who said:

    It looks like the code in the following screenshot is causing the issue: https://cl.ly/1K0k110e322g
    WordPress isn’t seeing it as a function, throwing this error: “Uncaught TypeError: jQuery(…).select2 is not a function”

    #132030

    Hudson Atwell
    Keymaster

    Hi Jay,

    In looking at this, it seems the Gallery plugin is possibly dequeuing our Select2 JS asset. Unfortunately, on quick glance, I don’t think I can provide a fix on my side.

    I also installed Envira Gallery Lite to try and repeat the error but wasn’t able to. Do you have further instructions on how I could repeat the error?

    Kind regards,
    Hudson Atwell

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.