Replies: 0
When I try to download the plugin after I unzip it, it breaks it up into multiple folders and I can’t find how to fix the issue.
Replies: 0
When I try to download the plugin after I unzip it, it breaks it up into multiple folders and I can’t find how to fix the issue.
Replies: 0
Hello,
read through latest threads, but didn’t find a solution to my question.
Currently I’m facing full width issues on the given domain. While debugging I realized, that Autoptimize seems to be the cause. And here is my issue:
When disabling the plugin my page is displayed just fine.
When enabling the plugin the page isn’t full width anymore, even without any options being checked (no HTML-, no JavaScript- and no CSS-options are activated).
Console returns two errors:
Uncaught TypeError: Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element'.
at t.value (frontend.min.js:2)
at t.value (frontend.min.js:2)
at t.value (frontend.min.js:2)
at HTMLDocument.<anonymous> (frontend.min.js:2)
at i (jquery.js:2)
at Object.fireWith [as resolveWith] (jquery.js:2)
at Function.ready (jquery.js:2)
at HTMLDocument.K (jquery.js:2)
and
Uncaught TypeError: Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element'.
at t.value (frontend.min.js:2)
at t.value (frontend.min.js:2)
at frontend.min.js:2
at dispatch (jquery.js:3)
at r.handle (jquery.js:3)
Trying to exclude these scripts from being optimized returns: “Die meisten der unten genannten Extra-Optimierungen erfordern, dass mindestens eine der HTML-, JS- oder CSS-Autoptimierungen aktiv ist.” (“Most of the Extra-Optimizations given below require at least one of the HTML-, JS- or CSS-Autoptimizations to be activated.”)
This makes sense, because I didn’t check any of these.
Now I am wondering how Autoptimize is affecting the display of my side and how I am able to avoid that.
Just to make sure:
No caching plugin activated
Async Javascript disabled
Hope there’s someone who is able to help me out. Highly appreciated, best regards,
-Björn
Replies: 1
Hi,
I am using WP store locator plugin to list some locations and shortcodes-ultimate plugin to add a image carousel on the location page. I get following errors:
For the carousel:
TypeError: $carousel.swiper is not a function[Learn More] galleries-shortcodes.js:49:17
<anonymous> https://parteneridesport.ro/pdsstaging2/wp-content/plugins/shortcodes-ultimate/assets/js/galleries-shortcodes.js?ver=5.3.0:49 each2jQuery
<anonymous> https://parteneridesport.ro/pdsstaging2/wp-content/plugins/shortcodes-ultimate/assets/js/galleries-shortcodes.js?ver=5.3.0:44 i4jQuery
The location page does have a map inside (from WP Store locator) which is not being loaded and I see this error:
Source map error: request failed with status 404
Resource URL: https://parteneridesport.ro/pdsstaging2/wp-content/cache/autoptimize/css/autoptimize_4c2ba85b53fbd0dfe32e995ef545f47d.css
Source Map URL: bootstrap.min.css.map[Learn More]
In both cases I see errors are being triggered by AO. Can you advise how should I fix it?
Thanks in advance.
Replies: 0
Hello. I would like to ask something that came up. After installing the plugin “Antis-Spam” by VleanTalk, i saw that my cache was growing very fast. That was not happening before.I also exclude from css the folder : wp-content/cache.
Any thoughts why that happens?
Replies: 0
AO doesn’t seem to be combining scripts and stylesheets. A gtmetrix test shows 14 external scripts and 16 external stylesheets even though I have selected the option to aggregate them. I have also removed wp-content/cache/ from the excluded CSS.
I see that my AO cache folder is /www/wp-content/cache/autoptimize/. Is that right? Should the www be there?
Another plugin’s script was throwing a 404 because of an incorrect file path of domain.com/www/wp-content/plugins/ so my hosting support added a rewrite in the NGINX server config to correct this.
Could that rewrite be messing with AO’s ability to combine scripts and stylesheets?
Any other ideas why I am unable to combine scripts and styles?
Replies: 0
Hi @optimizingmatters and thank you for your useful plugin!
I use buddypress with Bubbypress Golbal Search as search tool.
When I search with latin characters no problem. When Ι search with greek characters, AO shows an error message at the end of the search page, this one:
Any idea why this happens?
Replies: 0
Hey Frank,
I have a request perhaps you could add in during a later update. Would it be possible to specify roles for the Also optimize for logged in users? section in Misc?
Use Case:
I use Elementor and need to disable Autoptimize when changing stuff in the page builder, but I also have users that login for WooCommerce (subscriber role). I’d like it if we had the option to only disable Autoptimize for Administrators and leave it on for other roles (customer, subscribers, etc).
Thanks
Replies: 1
Hello,
I was wondering is it safe and recommended to use Autoptimize with WP Rocket chaching plugin?
I’ve bought WP Rocket but I heard great stuff about Autoptimize.
Replies: 1
Hello,
in my chase the exclude js file function not working correct.
Exclude Scripts from Autoptimize: plugins/plugin-name/assets
Also i tried plugins/plugin-name
and i tried also plugins/plugin-name/assets/js
Everytime in the Google Chrome Console:
`http://foo.bar/wp-content/cache/autoptimize/js/lang/myscript.de.js?v=323 net::ERR_ABORTED 404 (Not Found)
Script location is plugins/plugin-name/assets/js/lang/myscript.de.js
What i am doing wrong?
Many thanks,
Michael
Replies: 1
Hi there,
My client’s website has been crashing regularly 2x a day due to full cache. Sometimes we are able to access some pages but without the proper template. This all happened after converting their website from HTTP to HTTPS version.
I wonder what can prevent the website from crashing and the cache from filling up so quickly.
Also, is there a way to access Autoptimize errors log?
Thanks,
Jessica.
Replies: 1
Hello,
and thanks for the great plugin!
Can Autoptimize moves the javascript from header to footer, also?
Or should it be done individually?
Replies: 0
Hi guys,
I’ve always had a great experience with Autoptimize, and I also use the ExtraCSS option. But since a couple days ago, the images from my Woocommerce products look empty on all browsers.
I found that deactivating Aggregate JS-files? made the images show again. I wonder what the problem is? I didn’t add any new plugins. The theme I use is Divi.
Any clues?
Thanks for your time.
Replies: 1
Hi!
I really appreciate your plugin, but I have a problem on my website http://www.torinogioielli.com: on mobile (only on mobile, not in desktop version) when you click on “search” lens, nothing happens.
What exclusion rule have I to put? and where? I guess, in JS section of the plugin.
Thank you very much.
Simona Ferraro
Replies: 2
Starting a new topic as suggested.
My mobile menu it’s nor working even though I added js/jquery/jquery.js among the exceptions.
I tried all the things suggested here:
* in AO disabling JS optimization (with CSS active), does it work then?
* in AO disabling CSS optimization (with JS active), does it work then?
* disable SuperPWA while keeping AO JS & CSS active, does it work then?
Still not working.
I’m using also Cache Enabler. Strange thing is even if I disable AO and the Caching plugin, the menu it’s still not working. I’ve also tried to flush the cache from CLoudflare with all the plugins disabled, menu still nor working.
Replies: 0
Hello,
Chrome console is giving me the following warning: Uncaught SyntaxError: Unexpected identifier
It refers to: /* <![CDATA[ */
var autoptimize_ajax_object = {"ajaxurl":"https:\/\/site.nl\/wp-admin\/admin-ajax.php","error_msg":"Your Autoptimize cache might not have been purged successfully, please check on the <a rel="nofollow" href="https:\/\site.nl\/wp-admin\/options-general.php?page=autoptimize">Autoptimize settings page<\/a>.","dismiss_msg":"Dismiss this notice.","nonce":"9abd0eb82e"};
/* ]]> */
How to fix this?
Replies: 1
Hi,
Recently we started using Autoptimize to improve our page speed but we notice that at random occasions images start missing, for example on the homepage https://www.izaa.nl and scripts stop working, most importantly on this page where checking the upper, bold, checkbox is supposed to check ALL the checkboxes and scroll down the form. The scrolling is still working, but the check-all script isn’t.
The mobile responsive menu in the theme also stopped working (worked around that by building a new UberMenu fueled menu).
Tried a lot of solutions last week, including deactivating W3cache (didn’t help a bit). Any idea’s what to do now?
Thanks in advance
Peter
Replies: 0
Hey, i was trying your plugin with critical css initially. Everything seemed to work correctly except font-awesome was looking for its local files in /build_main/. There is no file /build_main/ on the server. Now when I disable the plugin i get the error
“Refused to apply style from ‘<URL>’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.” and it default looks for all my js in /build_main/. I can’t figure out what is causing the issue.
Any suggestions would be appreciated. Thanks
Replies: 1
hi,
i had a problem with autoptimizer. when my pages loading, unpkg.com waiting so much.
so i removed autoptimzer and cashe folder of it. but unpkg.com still loading so much time to me
please help me.
Replies: 2
Hello,
I’m getting some javascript errors when joining the js files
_ is not defined
wp is not defined
f is undefined
Anybody know how to get rid of them please? I’ve tried excluding underscore and blackbone but no success.
Thank you in advance
Replies: 1
Hi,
Can font-awesome font also be loaded through webfont.js and how?