Conflict with Autoptimize Plugin
-
Hi,
When Autoptimize plugin is enabled, preview of plugin is not loading
-
Hi,
Thanks for reporting this.
When you say preview, you mean the preview of the card in the administration page ?
If yes, that’s strange to see that Autoptimize is implementing cache (?) in the backend.
I’ll take a look at this asap.
Best,By preview I mean info card when I embed it on a page or post using Shorcode. Info card is not visible to end user when Autoptimize is enabled. There is no conflict in backed/administrator page.
-
This reply was modified 8 years, 5 months ago by
punit2502.
There is no conflict in backed/administrator page.
Hi again,
Ok, I understand. That mean the problem isn’t relative to my plugin but to Autoptimize.
You have to configure to prevent JS error, or to remove the AJAX fonctionnality from your WP Plugin Info Cards shortcode.
Best,Which files should I exclude?
It depend of your installation, and from where the JS error comes.
You can try to exclude wppic-script.min.js
If it does not work, you may need to open a topic on autoptimize support forum.the autoptimize developer might be reading along already … _spooky_ 😉
no, seriously, have a look at AO’s FAQ for info on how to troubleshoot. this is likely to be a JS problem, and your browser’s error console might have some interesting info.
frank (ao dev)
I have exlcuded wp-plugin-info-card/css/ and wp-plugin-info-card/js/ but it still throws error
well, as per AO’s FAQ;
* is there any error visible on your browser’s console and if so, which one?
* is the problem fixed if you disable JS optimization?
* if not, is the problem fixed if you disable CSS optimization?frank
Error:
Uncaught ReferenceError: socialWarfarePlugin is not defined
at (index):96
autoptimize_5b51443….js:3 JQMIGRATE: Migrate is installed, version 1.4.1
(index):42 Uncaught TypeError: windowObj.scrollBottom is not a function
at HTMLDocument.<anonymous> ((index):42)
at i (jquery.js?ver=1.12.4:2)
at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4:2)
at Function.ready (jquery.js?ver=1.12.4:2)
at HTMLDocument.K (jquery.js?ver=1.12.4:2)It has conflict with multiple plugins:
1. WP Plugin Info card
2. Inline Related Posts
3. Fancier Author Boxand what are your AO JS settings?
Optmize HTML – enabled
Optimize JS – enabled
Files to exclude – seal.js, js/jquery/jquery.js, wp-plugin-info-card/js/
Optimize CSS – enabled
Files to exclude – admin-bar.min.css, dashicons.min.css, wp-plugin-info-card/css/
and are you forcing JS in head?
Nope
going to have to see this problem in order to debug further @punit2502, can you provide me with your URL?
-
This reply was modified 8 years, 5 months ago by
- The topic ‘Conflict with Autoptimize Plugin’ is closed to new replies.