Home>Support>Uncaught ReferenceError: Backbone is not defined

Uncaught ReferenceError: Backbone is not defined

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,

When we try to pull up a Page or Post in the admin area, we don’t see the Page Builder elements in the edit window anymore. In the Javascript Console, we see the following errors:

Uncaught ReferenceError: Backbone is not defined — load-scripts.php?c=0&load%5B%5D=hoverIntent,common,admin-bar,heartbeat,autosave,wp-ajax-response,jquery-color,wp-lists,jquery-query,admin-comments,suggest,jquer&load%5B%5D=y-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,postbox,tags-box,underscore,word-count,wp-a11y,post,editor-expand,&load%5B%5D=thickbox,shortcode,backbone,wp-util,wp-backbone,media-models,wp-plupload,mediaelement,wp-mediaelement,media-views,media-editor,m&load%5B%5D=edia-audiovideo,mce-view,imgareaselect,image-edit,svg-painter,wp-auth-check,jquery-ui-resizable,jquery-ui-draggable,jquery-ui-po&load%5B%5D=sition,jquery-ui-menu,jquery-ui-autocomplete,jquery-ui-slider,jquery-touch-punch,iris,wp-color-picker,wplink,media-upload&ver=4.5.2

Uncaught ReferenceError: Backbone is not defined — /wp-content/plugins/siteorigin-panels/js/siteorigin-panels-24.min.js?ver=2.4.8

Uncaught ReferenceError: _ is not defined — /wp-content/plugins/so-widgets-bundle/base/js/posts-selector.min.js?ver=1.5.11

Uncaught ReferenceError: _ is not defined — load-scripts.php?c=0&load%5B%5D=hoverIntent,common,admin-bar,heartbeat,autosave,wp-ajax-response,jquery-color,wp-lists,jquery-query,admin-comments,suggest,jquer&load%5B%5D=y-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,postbox,tags-box,underscore,word-count,wp-a11y,post,editor-expand,&load%5B%5D=thickbox,shortcode,backbone,wp-util,wp-backbone,media-models,wp-plupload,mediaelement,wp-mediaelement,media-views,media-editor,m&load%5B%5D=edia-audiovideo,mce-view,imgareaselect,image-edit,svg-painter,wp-auth-check,jquery-ui-resizable,jquery-ui-draggable,jquery-ui-po&load%5B%5D=sition,jquery-ui-menu,jquery-ui-autocomplete,jquery-ui-slider,jquery-touch-punch,iris,wp-color-picker,wplink,media-upload&ver=4.5.2

Our WordPress version is: 4.5.2

Page Builder by SiteOrigin version: 2.4.8

Do you have an ideas what might be causing this?

Best,

JT

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

  1. 9 years, 1 month ago Alex S
    Hi, I Work Here

    Hi Jay,

    Typically when this happens it’s due to a plugin conflict. 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.

  2. 9 years, 1 month ago jayt12345

    Hi Alex,

    Thanks for your response. We did try disabling all non-SiteOrigin plugins and nothing seemed to work. Our sysadmin claimed he'd seen this issue before, and I believe he changed a setting in wp-config.php to prevent concatenation and minification of the JS files:

    define('CONCATENATE_SCRIPTS', false );
    or define('SCRIPT_DEBUG', true);

    https://wordpress.org/support/topic/wp-28-jquery-error

    We're not exactly sure what he did, but after the adjustment it did solve the problem we were seeing, and the SiteOrigin Page Builder started working as expected.

    JT

  3. 9 years, 1 month ago Bogdan Ionut

    Hi guys,

    I can confirm that define(‘CONCATENATE_SCRIPTS’, false ); did the trick. My problem was that i could not complete creating a Post or Page. I couldn’t edit the text.
    After adding that line in wp-config.php everything is back to normal.
    There is a strange thing happening, some other site have the same plugins but don’t have the same problem.

    Our WordPress version is: 4.5.2
    Plugin problem: WPML 3.1.9.6

    Thanks for your support.

  4. 9 years, 1 month ago Eric B.

    Thank you VERY MUCH !!

    define(‘CONCATENATE_SCRIPTS’, false );

    > Work Fine !

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