Problem:
we're encountering an issue using the Unlimited Addons with another set of plugins, Toolset from OnTheGoSystems.
This plugin lets you create some "content templates" and in their interface there's a WYSIWYG editor where it is possible to use the Page Builder (Visual Composer is compatible with Toolset and the "basic" VC works fine).
Trying to use the elements from Unlimited Addons results in a Javascript error "Uncaught ReferenceError: g_ucObjGeneralSettings is not defined" and it's not possible to edit/save the wanted element (we firstly noted it trying to use a "Circle Event Box" but it happens with other elements as well).
If we use those elements in the editor of a normal Page or Post (or even of a Custom Type defined via Toolset), everything works fine.
We don't know if the issue comes from your plugin or from Toolset, so we're submitting a ticket to both.
Solution:
it is a compatibility problem,,
1) I create another content template, and add a new content template, edit with the "WPBakery Page Builder", add a "Circle Event Box", then I can get the JS error you mentioned above:
Uncaught ReferenceError: g_ucObjGeneralSettings is not defined
I searched it in the source code of plugin "Unlimited Addons for WPBakery Page Builder", file
plugins\unlimited-addons-for-wpbakery-page-builder\provider\assets\uc_general_settings.js
line 625:
var g_ucObjGeneralSettings = new UCGeneralSettings();
The problem is when you edit a content template, the JS file "uc_general_settings.js" does not load, and it conduct the JS errors. So I suggest you check it with the author of plugin "Unlimited Addons for WPBakery Page Builder", check if it is possible to load their JS files when edit a content template.
Relevant Documentation:
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | - |
- | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | - |
Supporter timezone: Asia/Hong_Kong (GMT+08:00)
This topic contains 6 replies, has 2 voices.
Last updated by 6 years, 10 months ago.
Assisted by: Luo Yang.