Hi,
I was having an issue where some pages/posts were not displaying images. Upon deactivating all the plugins I found Toolset Views was causing a conflict with Siteground's SG Optimizer plugin and their Lazyload feature. I also have their Combine JS query enabled .
The console error was "Uncaught SyntaxError: redeclaration of const wpvViewHead"
Would you need me to reactivate the plugin to demonstrate the issue on my live site?
Tim
Hello, that may or may not be necessary. Concatenating (combining), minimizing and obfuscating Toolset's JavaScript can cause some compatibility issues, so we recommend excluding a few specific Toolset files from these processes. You should be able to use SG Optimizer's configuration editor to exclude specific files. Please exclude the following files from any active Toolset plugins.
Toolset Blocks:
/wp-content/plugins/toolset-blocks/public/css/views-frontend.css
Toolset Views:
/wp-content/plugins/wp-views/public/css/views-frontend.css
Toolset Forms:
/wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/toolset-forms/js/conditional.js
/wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/toolset-forms/js/date.js
/wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/toolset-forms/js/main.js
/wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/toolset-forms/js/validation.js
/wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/toolset-forms/js/recaptcha-php-1.11/recaptcha_ajax.js
/wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/toolset-forms/js/recaptcha-v2/api.js
/wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/visual-editor/res/js/codemirror/lib/codemirror.js
/wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/res/lib/select2/select2.css
Toolset WooCommerce Blocks:
/wp-content/plugins/toolset-woocommerce-blocks/library/toolset/woocommerce-views/res/css/wcviews-onsalebadge.css
/wp-content/plugins/toolset-woocommerce-blocks/public/css/style.css
Toolset Maps:
/wp-content/plugins/toolset-maps/resources/css/toolset_maps_fixes.css
We have this list published in our FAQ document:
https://toolset.com/faq/how-to-use-optimization-plugins-with-toolset/
However, I've asked to have that document updated to remove the version numbers from each file, and to include the full file paths for all Toolset Forms assets (some are currently missing). I think the list above is a better resource for now.
Please exlcude those files isted above, clear your browser cache, and test again. If the problem persists, I'll need to take a closer look.
Thanks, but when I deactivated and reactivated my plugins the children posts all got deleted from their parent posts. Is there anyway that can be fixed?
Thanks, but when I deactivated and reactivated my plugins the children posts all got deleted from their parent posts. Is there anyway that can be fixed?
That is not normal, these connections should be maintained in the database when you deactivate and reactivate plugins. It's possible there is something else going on, like a JavaScript error preventing this section in the post editor screen from loading correctly. I would need to log in to take a closer look. If you share login credentials in the private fields here I can check the editor. Please let me know one parent post and one child post that should be connected.
My issue is resolved now. Thank you!