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
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.
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
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.
Thank you VERY MUCH !!
> Work Fine !