Conflict – must disable
-
Hi
I have had great results with this plugin, but after updating my site with the Gutenberg update there’s a conflict, and a lot of functionality is lost and layout messed up.
After disabling this plugin everything goes back to normal, but I’m missing the events shortcode feature. I really need it, and hope that there’s a way to fix this.
I use Jupiter theme, Visual Composer, The events calendar with Event tickets plus plugin, and have updated everything, including theme and WordPress.
Any help is much appreciated.
Regards Eivind
The page I need help with: [log in to see the link]
-
Hi Eivind,
Sorry to hear! I have seen a couple issues with Gutenberg + other page builder plugins, so it might be a script issue. If you’re still using the shortcodes vs. adding Gutenberg blocks it’s the same code there apart from including the block in the Gutenberg error.
Are you seeing any script errors? Instructions to see them on most browsers under Step 3 here:
https://codex.wordpress.org/Using_Your_Browser_to_Diagnose_JavaScript_Errors
Ideally it would be good to see a site with your set up enabled and see the errors first hand. It may be a conflict with plugins that have Gutenberg blocks with your theme and Visual Composer, but hoping it’s something that could be handled within this plugin.
Cheers!
BrianHello
I finally have time to work on this again.
I tried to enable the plugin and debug like you suggested, and here’s the result:
Failed to set referrer policy: The value ” is not one of ‘no-referrer’, ‘no-referrer-when-downgrade’, ‘origin’, ‘origin-when-cross-origin’, ‘same-origin’, ‘strict-origin’, ‘strict-origin-when-cross-origin’, or ‘unsafe-url’. The referrer policy has been left unchanged.
VM120:2251 Uncaught ReferenceError: _ is not defined
at VM120:2251
(anonymous) @ VM120:2251
VM122:2257 Uncaught ReferenceError: wp is not defined
at VM122:2257
at VM122:2260
(anonymous) @ VM122:2257
(anonymous) @ VM122:2260
VM123:2266 Uncaught ReferenceError: wp is not defined
at VM123:2266
at VM123:2267
(anonymous) @ VM123:2266
(anonymous) @ VM123:2267
VM124:2273 Uncaught ReferenceError: wp is not defined
at VM124:2273
at VM124:2274
(anonymous) @ VM124:2273
(anonymous) @ VM124:2274
VM125:2277 Uncaught ReferenceError: wp is not defined
at VM125:2277
(anonymous) @ VM125:2277
VM126:2281 Uncaught ReferenceError: moment is not defined
at VM126:2281
(anonymous) @ VM126:2281
VM127:2287 Uncaught ReferenceError: wp is not defined
at VM127:2287
at VM127:2288
(anonymous) @ VM127:2287
(anonymous) @ VM127:2288
VM128:2294 Uncaught ReferenceError: wp is not defined
at VM128:2294
at VM128:2295
(anonymous) @ VM128:2294
(anonymous) @ VM128:2295
VM129:2298 Uncaught ReferenceError: wp is not defined
at VM129:2298
(anonymous) @ VM129:2298
VM130:2304 Uncaught ReferenceError: wp is not defined
at VM130:2304
at VM130:2305
(anonymous) @ VM130:2304
(anonymous) @ VM130:2305
VM131:2311 Uncaught ReferenceError: wp is not defined
at VM131:2311
at VM131:2312
(anonymous) @ VM131:2311
(anonymous) @ VM131:2312
VM132:2318 Uncaught ReferenceError: wp is not defined
at VM132:2318
at VM132:2319
(anonymous) @ VM132:2318
(anonymous) @ VM132:2319
autoptimize_3fee43e1b763ac98c742b5aeeaf3f8d2.js:2 JQMIGRATE: Migrate is installed, version 1.4.1
autoptimize_3fee43e1b763ac98c742b5aeeaf3f8d2.js:409 Uncaught TypeError: Cannot read property ‘flowRight’ of undefined
at Module.308 (autoptimize_3fee43e1b763ac98c742b5aeeaf3f8d2.js:409)
at r (autoptimize_3fee43e1b763ac98c742b5aeeaf3f8d2.js:409)
at wp.data.0 (autoptimize_3fee43e1b763ac98c742b5aeeaf3f8d2.js:409)
at autoptimize_3fee43e1b763ac98c742b5aeeaf3f8d2.js:409
308 @ autoptimize_3fee43e1b763ac98c742b5aeeaf3f8d2.js:409
r @ autoptimize_3fee43e1b763ac98c742b5aeeaf3f8d2.js:409
wp.data.0 @ autoptimize_3fee43e1b763ac98c742b5aeeaf3f8d2.js:409
(anonymous) @ autoptimize_3fee43e1b763ac98c742b5aeeaf3f8d2.js:409
(index):2585 Uncaught TypeError: $(…).JIGphotoSwipe is not a function
at window.jigAddLightbox1 ((index):2585)
at W (autoptimize_3fee43e1b763ac98c742b5aeeaf3f8d2.js:880)
at c.justifiedImageGrid.t.createGallery (autoptimize_3fee43e1b763ac98c742b5aeeaf3f8d2.js:871)
at c.justifiedImageGrid.t.init (autoptimize_3fee43e1b763ac98c742b5aeeaf3f8d2.js:858)
at new c.justifiedImageGrid (autoptimize_3fee43e1b763ac98c742b5aeeaf3f8d2.js:930)
at HTMLDivElement.<anonymous> (autoptimize_3fee43e1b763ac98c742b5aeeaf3f8d2.js:931)
at Function.each (jquery.js:2)
at a.fn.init.each (jquery.js:2)
at a.fn.init.c.fn.justifiedImageGrid (autoptimize_3fee43e1b763ac98c742b5aeeaf3f8d2.js:931)
at initJIG ((index):2585)
window.jigAddLightbox1 @ (index):2585
W @ autoptimize_3fee43e1b763ac98c742b5aeeaf3f8d2.js:880
t.createGallery @ autoptimize_3fee43e1b763ac98c742b5aeeaf3f8d2.js:871
t.init @ autoptimize_3fee43e1b763ac98c742b5aeeaf3f8d2.js:858
c.justifiedImageGrid @ autoptimize_3fee43e1b763ac98c742b5aeeaf3f8d2.js:930
(anonymous) @ autoptimize_3fee43e1b763ac98c742b5aeeaf3f8d2.js:931
each @ jquery.js:2
each @ jquery.js:2
c.fn.justifiedImageGrid @ autoptimize_3fee43e1b763ac98c742b5aeeaf3f8d2.js:931
initJIG @ (index):2585
initJIG @ (index):2585
(anonymous) @ (index):2586
i @ jquery.js:2
fireWith @ jquery.js:2
ready @ jquery.js:2
K @ jquery.js:2
(index):3152 Uncaught TypeError: jQuery(…).magnificPopupAU is not a function
at ytc_init_MPAU ((index):3152)
at (index):3152
at dispatch (jquery.js:3)
at r.handle (jquery.js:3)
ytc_init_MPAU @ (index):3152
(anonymous) @ (index):3152
dispatch @ jquery.js:3
r.handle @ jquery.js:3
load (async)
add @ jquery.js:3
(anonymous) @ jquery.js:3
each @ jquery.js:2
each @ jquery.js:2
sa @ jquery.js:3
on @ jquery.js:3
(anonymous) @ (index):3152could be an autoptimize problem; try disabling Autoptimize on a per-request basis by adding
?ao_noptimize=1to the URL.if the problem is not there at that point, some autoptimize (re-)configuration might be needed to fix this. there are troubleshooting tips and info on how to exclude in the AO FAQ.
hope this helps debugging,
frank (ao dev)Hi
Adding ?ao_noptimize=1 to the URL fixes everything, yes!
I’ll look into the FAQ URL you sent me!
I checked the “Also aggregate inline JS?” option, and now things look ok. I’ll keep an eye on it for a while, and hope this was what I needed.
that probably works indeed, but could cause your cache size to go up quickly. the alternative could be not aggregating inline JS and then excluding gutenberg JS (
wp-includes/js/dist) from being optimized.Sweet! That did the trick also. Thank you so much!
You’re welcome eivindeh, feel free to leave a review Autoptimize and support here! 🙂
The topic ‘Conflict – must disable’ is closed to new replies.