Support » Plugin: Cue by AudioTheme.com » Clash with Elementor page builder

  • Resolved udidol

    (@udidol)


    Hi,
    I am using the popular Elementor page builder, and there is a clash between the Cue plugin and the Elementor scripts. Pages load normally, but the elementor page editor in the backend doesn’t load. The console shows errors related to Elementor and Cue.

    Maybe it’s because Cue uses its own minified jQuery version? How can I prevent Cue from calling its own jQuery?

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

    (@bradyvercher)

    Hi @udidol,

    Another person raised this issue with us recently, so it should be resolved in the next release. Keep an eye out for that because it will provide compatibility with the upcoming WordPress 4.9 release as well.

    We don’t bundle jQuery in Cue, but rather rely on the version bundled with WordPress. For a more technical explanation:

    This problem is actually caused by one of the dependencies bundled in Elementor that attempts to detect whether it’s being used in a browser or a server context by checking for the existence of a global require() function. We used Browserify to bundle the JavaScript in Cue, which always defines a global require() function, so that dependency in Elementor isn’t able to find jQuery. We switched over to webpack instead of Browserify to keep extra globals from being defined, which should resolve this particular issue.

    Thanks, I’ll keep an eye out for that!

    Plugin Author Brady Vercher

    (@bradyvercher)

    This should be good to go with the latest release (version 2.3.0). Please let us know if you’re still having issues after upgrading.

    Hey Brady,

    I updated the site and it now works!
    Thank you for your quick responses and your update!
    Made sure to give you a 5 star review, your plugin’s great.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Clash with Elementor page builder’ is closed to new replies.