Plugin conflict with Oxygen Builder

Posted by: nerdontour

4th December 2020, 3:14 pm

nerdontour

@nerdontour

4 Dec 2020
3:14 pm

I'm designing my site (https://larpbase.com/) with Oxygen Builder and their visual editor cannot be loaded when the Free Downloads WooCommerce plugin is active. This is the error message in the console:

https://d.pr/i/kruEMU

I've contacted their support, and they suggested to consult you.

How can we solve this?

  • Richard Webster

    @rwebster

    4 Dec 2020
    3:29 pm

    Hi mate, send me admin login details via email for that site and I'll see what's going on.

  • nerdontour

    @nerdontour

    4 Dec 2020
    3:43 pm

    Thanks for the fast response. I've sent the login details via your contact form.

    To re-create the issue. After logging in, in the left sidebar go to Oxygen > Templates > Edit with Oxygen, and the Builder Editor loads with a cog icon in the center of the screen. With your plugin active, the loading screen remains is stuck. With the plugin inactive, the Builder Editor loads correctly.

  • Richard Webster

    @rwebster

    4 Dec 2020
    4:04 pm

    For anyone else that comes across this thread, the solution is to add a custom snippet with the following code:

    add_action('init', 'custom_disable_free_download_scripts_if_editor');
    function custom_disable_free_download_scripts_if_editor()
    {
    	if (!empty($_GET['ct_builder'])) remove_action('wp_enqueue_scripts', 'somdn_load_scripts');
    }

    Last modified: 4th December 2020, 4:04 pm by Richard Webster

  • nerdontour

    @nerdontour

    4 Dec 2020
    4:09 pm

    Awesome! Thanks for the rapid response and solution 👏

This topic is closed to new replies.