Home>Support>Plugin Conflict custom Plugin and SiteOrigin

Plugin Conflict custom Plugin and SiteOrigin

Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

Hi,
i am using siteOrigin to build my webpages. I also build and installed a custom plugin that adds a custom post type.

Using both siteOrigin and the custom plugin, i get a strange bug where the page builder will not load itself when opening a page.
The page editor opens and displays the (old style, with and without classic editor) text and visual tabs, along with the page builder tab. Clicking on the page builder tab brings me back to the siteorigin pagebuilder. If i reload or save the page, i am back to the visual tab.

I have enabled debug mode and debug logs but receive no output.

The custom plugin only loads jQuery:
(function( $ ) {‘use strict’;})( jQuery );

and adds some (very specific) css styles, so i am at a loss as to what could be interfering with the siteOrigin Pagebuilder. Everything else works fine and as long as i don’t try to edit the posts it also displays properly.

Can you advise on how to debug this plugin conflict?

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 5 years, 9 months ago profire

    i have tried disabling all enqueue methods but the problem still remains. It looks like a JS issue in the pagebuilder that prevents it from opening the pagebuilder tab itself

  2. 5 years, 9 months ago Andrew Misplon
    Hi, I Work Here

    Hi, thanks for reaching out.

    If Page Builder is experiencing a problem that’s independent of your custom plugin, try running a plugin conflict test to see if a working baseline can be found. Please, find the steps below.

    This sounds like it could be a plugin conflict issue. Can you try disabling all non-SiteOrigin plugins and see if this fixes the issue? You’ll need to clear all your caches after disabling your plugins.

    If it does fix the issue, then try re-enabling your plugins one by one until the issue comes back. This procedure will help diagnose which plugin is causing the issue.

    Once we know that, we’ll be able to look at what might be causing the conflict and either solve the problem or help you find an alternative plugin.

    If you aren’t using a SiteOrigin theme, then you can also try temporarily switching to one of the default WordPress themes to see if the issue is theme related.

  3. 5 years, 9 months ago profire

    Thanks for your reply. As I’ve said, i am already aware of the plugin that is conflicting with the siteOrigin Builder. It is a custom plugin i created. But it should have absolutely no impact on the way the pagebuilder works.

  4. 5 years, 9 months ago Andrew Misplon
    Hi, I Work Here

    Thanks for your reply and feedback.

    We’re a small team, to remain viable our free support scope is limited to basic usage and basic troubleshooting. When you say you enabled debug, have you checked the console in your browser’s developer tool? We, unfortunately, can’t help directly with troubleshooting a problem like this. We could offer some general advice. If there is a JS issue there should be an error outputted in the console. https://wordpress.org/support/article/using-your-browser-to-diagnose-javascript-errors/#step-3-diagnosis.

  5. 5 years, 9 months ago profire

    Sorry for asking this complicated stuff here.
    There is no console output. Even when i disable the script loading.

    It seems like the animation from the pagebuilder just does not load anymore. Could you tell me what hooks the siteOrigin pagebuilder uses, so i can check if anything there is in conflict with the plugin?

  6. 5 years, 9 months ago Andrew Misplon
    Hi, I Work Here

    It’s strange that there isn’t an error presenting in PHP logs or console. A basic troubleshooting method would be to strip your plugin down until the conflict is resolved. It sounds like you already started that by removing the enqueues. There, unfortunately, isn’t a documented list of hooks that Page Builder makes use of. All work is done on GitHub so the source can be searched there if you’d prefer that over searching in your code editor. https://github.com/siteorigin/siteorigin-panels.

  7. 5 years, 9 months ago Andrew Misplon
    Hi, I Work Here

    Let me know how it goes and we’ll try to advise from there. Try stripping the plugin right to the last declaration, hopefully a working baseline can be found.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More