Quantcast
Channel: WordPress.org Forums » [Autoptimize] Support
Viewing all 14039 articles
Browse latest View live

CSS loading order broken

$
0
0

Replies: 0

Without Autoptimize activated my CSS is loaded like this

<link rel='stylesheet' id='fl-automator-skin-css'  href='https://pcbeachfish.com/wp-content/uploads/bb-theme/skin-5bb238052437c.css?ver=1.7.0.2' type='text/css' media='all' />
<link rel='stylesheet' id='fl-child-theme-css'  href='https://pcbeachfish.com/wp-content/themes/pcbeachfish/style.css?ver=4.9.8' type='text/css' media='all' />

But with Autoptimize the order is being reversed and my child theme styles are overridden by the parent theme.

It was working fine. There was an update to the parent theme, but the code above is after that update, so I don’t think has anything to do with it.


Error uncaught

$
0
0

Replies: 0

each time I activate autoptimize I get these errors (and sometimes pictures and bloacks disappears)
JQMIGRATE: Migrate is installed, version 1.4.1
autoptimize_ecc5971a4a26e0842da956b3418f15a0.js:97 Uncaught ReferenceError: Cookies is not defined
at HTMLDocument.<anonymous> (autoptimize_ecc5971a4a26e0842da956b3418f15a0.js:97)
at i (jquery.js?ver=1.12.4:1)
at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4:1)
at Function.ready (jquery.js?ver=1.12.4:1)
at HTMLDocument.K (jquery.js?ver=1.12.4:1)
(anonymous) @ autoptimize_ecc5971a4a26e0842da956b3418f15a0.js:97
i @ jquery.js?ver=1.12.4:1
fireWith @ jquery.js?ver=1.12.4:1
ready @ jquery.js?ver=1.12.4:1
K @ jquery.js?ver=1.12.4:1
embed.js:6 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user’s experience. For more help, check https://xhr.spec.whatwg.org/.
q.getText @ embed.js:6
ra @ embed.js:23
b @ embed.js:2
(anonymous) @ embed.js:11
ka @ embed.js:20
oa @ embed.js:11
(anonymous) @ embed.js:24
b @ embed.js:2
Ya @ embed.js:24
e @ embed.js:22
(anonymous) @ embed.js:26
load (async)
La @ embed.js:25
q.injectUrl @ embed.js:26
ra @ embed.js:23
b @ embed.js:2
(anonymous) @ embed.js:11
ka @ embed.js:20
oa @ embed.js:11
Ma @ embed.js:11
q @ embed.js:2
(anonymous) @ embed.js:254
g @ embed.js:113
f @ embed.js:112
resolve @ embed.js:115
b @ embed.js:113
g @ embed.js:113
f @ embed.js:112
resolve @ embed.js:115
b @ embed.js:113
g @ embed.js:113
f @ embed.js:112
resolve @ embed.js:115
b @ embed.js:113
g @ embed.js:113
f @ embed.js:112
resolve @ embed.js:115
r @ embed.js:250
b.jsonp.w.(anonymous function) @ embed.js:251
(anonymous) @ form-settings?u=d39715d67144cb7f6e7adc919&id=66548e29ef&u=d39715d67144cb7f6e7adc919&id=66548e29ef&c=dojo_request_script_callbacks.dojo_request_script0:1
embed.js:6 GET https://www.doobara.com/jquery.js 404

> in the footer

$
0
0

Replies: 2

Hi Sir, Please kindly check the page ( site.com/procedures/proc1/proc-detail ) because there’s an additional “>” in the footer when I on “Aggregate JS-files?” but in the homepage “>” is not included at the footer. I have a screenshot but I don’t know how to attach it. Hoping for the fix. Thanks

CSS issues with images

Plugin installed and then site content disappeared!

$
0
0

Replies: 0

Hello,

I installed the Autoptimize plugin this morning and got to work on configuring it. After saving all my changes, I visited my website only to discover that all the content disappeared. I can see it’s all still in WordPress, but nothing is showing on the frontend now! I’ve deleted the plugin altogether, but the issue persists. Can you please let me know if you’ve encountered this before and why it may be happening?

Thanks.

css files not combined

$
0
0

Replies: 4

Hi,
I am using auto optimize plugin, but the problem is that it doesn’t combine css files. how to fix it
thanks?

It does not pass html validation check

$
0
0

Replies: 0

Hello
Thank you for providing a nice plugin.

There are two errors on my site.(https://validator.w3.org/)

1.text/css
autoptimizeStyles.php(849)
$noScriptCssBlock .= ‘<link type=”text/css” media=”‘

$noScriptCssBlock .= ‘<link media=”‘

2.text/javascript
autoptimizeScripts.php(394)
$bodyreplacementpayload = ‘<script type=”text/javascript”

$bodyreplacementpayload = ‘<script

I would like you to fix it if you have time.
Thank you.

Images Being Rescaled

$
0
0

Replies: 0

Hi,
I use Cloudflare CDN and have set up your great plugin to work with it.
If I select the option to “Optimize images on the fly and serve them from a CDN”, the website’s images aren’t just compressed, the images are rescaled. For instance, all my 150×150 images are scaled down to 100×100.
Do you know why?
Thanks,
Michael


Lots of 404 for the autoptimize css file

$
0
0

Replies: 1

I see a lot of 404 for the live autoptimize css files. This is for about a quarter to a third of the visitors, and not for all.
This drives me crazy because it wrecks my stats.
Not sure if it’s an autoptimize error, I talked to the provider and they say there is nothing in the logs that could give me a hint on what is happening.
Is there anything I could do to get some more info on this?
I am running on siteground behind Cloudflare.

Examples:
https://coffee-brewing-methods.com/wp-content/cache/autoptimize/css/autoptimize_9f9880b71e343ac5b33608f4053d796d.css
https://coffee-brewing-methods.com/wp-content/cache/autoptimize/js/autoptimize_4cac532629b572d670cec587dc3516fb.js
https://coffee-brewing-methods.com/wp-content/cache/autoptimize/js/autoptimize_db57ac860f1b11b89198098ee5e59aa1.js
https://coffee-brewing-methods.com/wp-content/cache/autoptimize/css/autoptimize_54833932a3f6b4a7b58d62a6f578c244.css

tinymce error

$
0
0

Replies: 1

tinymce is not defined with Autoptimize

I am using this solution
js/jquery/jquery.js,wp-includes/js/tinymce

But instead of this why are not fix this issue on core level?

Failed to execute ‘insertRule’ on ‘CSSStyleSheet’: Cannot access StyleSheet

$
0
0

Replies: 0

Our site is hosted on WP Engine and autoptimize worked as expected on dev and staging but when I activated it on production (with WP Engine caching and CDN) I got the following error in the console:
Failed to execute ‘insertRule’ on ‘CSSStyleSheet’: Cannot access StyleSheet to insertRule
Unchecking “optimize CSS Code” eliminates the error.

Any advice on how to further diagnose and correct the issue would be greatly appreciated.

Googlebot can’t access autoptimize_*.js files

$
0
0

Replies: 0

Hello Mr. Goosens, @futta

First of all congratulations for the latest changes in AO. It was great before but now it is a monster at optimizing Pagespeed. I’m using Youtube Lyte and Async JS and very happy with how they interact. Outstanding work!

Recently I’ve been getting reports of blocked resources at Google’s search console. Only for the js cache files that AO generates. I’ve checked robots.txt and .htaccess to see if something blocks it. Maybe you can help.

Also I’m getting “temporarily unreachable” messages in “fetch and render” since several days ago so it is more difficult to debug these errors.

In robots.txt I specify:

Disallow: /wp-content/
Allow: /wp-content/cache/autoptimize/js/*.js

In .htaccess I have accept-vary enconding to improve performance but it shouldn’t block js files. Maybe the caching of a compressed version messes Googlebot somehow?

Or maybe Gbot tries to crawl old version of js cache files and I should ignore these messages? But this should be happening with css cache files as well.

Thanks in advance for your help and support Frank.

Some problems with tabs and googlemap when not logged in

$
0
0

Replies: 0

Hi there,

in the AO settings in the backend I have “javascript code optimized” activated (CSS optimization functions are not active).
Now I have here on my site problems with the Tabs and with the google maps
https://www.via-ferrata.de/kaiserwinkl/
(when I am logged in on my site both tabs and map work fine – only when logged out it does not work properly).
what do I have to change in my AO settings. Which scripts do I have to exclude?

Thank you very much for your support

URGENT: SSL Hard Failures & Cache Mechanism

$
0
0

Replies: 0

Hello,
We have been using the plugin with the Javascript & CSS options marked from our settings. We recently added SSL to our site and we found through the https://www.whynopadlock.com/ site that there are some issues found on our ‘Contact Page’. Please see the screenshot HERE
Also, at some of the times we face issues where our site breaks or loads for a long time until the cache is deleted from the Dashboard.
So we have the following questions:
1. How to fix the Autopadlock issues so that particular page becomes HTTPS compatible?
2. What if we want to pause / deactivate the plugin ? Will it have any effect in the site?
Thanks!

Problem with Ultimate WordPress Preloader

$
0
0

Replies: 1

Hi, i see a problem if i install autoptimizer 2.4 or 2.4.1beta and Ultimate WordPress Preloader version 1.1 | By MagniumThemes.

Each time i click on a page in the admin panel the page is loaded fine and automatically reload! it’s very annoying!

if i deactivate one of two plugins the problem disappear.
No problem detected in chrome console
thanks


AO no cache output

$
0
0

Replies: 1

I updated to the lasted version from AO. Now the plugin generates the cache but my website dont use the cache files.

Excluded Scripts from Autoptomize since update

$
0
0

Replies: 4

Hi there,
Since updating Autoptomize the plugin cornerstone for x-theme won’t load. I’ve tried deactivating Auto and it then loads fine. Previously i’d just excluded it in the settings menu with wp-content/plugins/cornerstone/, but this no longer seems to be working. Any ideas?
Many thanks,
Stewart

Disabling “Also optimize for logged in users?” doesn’t work

$
0
0

Replies: 0

I noticed my css files were all coming in on one line when logged in.

I selected the option ‘Also optimize for logged in users?’ and saved. Then unchecked it and saved again. Worked again.

Then I updated the CSS file and it started minifying again when I was logged in.

I realize there was a recent update, just wanted to get this one on the radar as it’s a very helpful feature. Thanks!

  • This topic was modified 2 hours, 43 minutes ago by Bozz.

Missing after enable “Optimize JavaScript Code” + “Aggregate JS-files”

$
0
0

Replies: 1

Thank you for your great work.

After upgraded to Autoptimize 2.4, we found enabling “Optimize JavaScript Code” + “Aggregate JS-files” will cause the generated HTML missing </html> end tag. This cause “WP Super Cache” plugin not working. Actually we suspected after Autoptimize 2.4 upgraded, “WP Super Cache” keeping not caching any page. After enabled the “WP Super Cache” debug log, it show “<!– Page not cached by WP Super Cache. No closing HTML tag. Check your theme. –>” in the generated HTML. When we disabled “Aggregate JS-files” in Autoptimize, the HTML return normal and “WP Super Cache” works again.

Please help to fix this issue when you have time.

Exclude only 1 CSS line item from caching?

$
0
0

Replies: 0

Hi there,

I just download and installed your plugin a few days ago and it is awesome! I am also thrilled that I can exclude only some JS scripts while still keeping aggregated inline JS. This is especially helpful as I have a multilingual site and most of the time the only difference is the JS is a minor one, for example “Ja” instead of “Yes”.

This does leave me with one question though. Is there a way to do something similar with only a certain CSS line items? How WPML works, as you may already know, is that a translated page/post/product/whatever gets a new page ID number. I have, for example, only one difference in the cached autoptimized css file between my two languages.
For English:
.menu-item-13429.menu-item-design-sized>.sub-menu-dropdown{min-height:270px;width:330px}

And for German:
.menu-item-13430.menu-item-design-sized>.sub-menu-dropdown{min-height:270px;width:330px}

Notice the only difference between them is the last two numbers behind “.menu-item-134XX”

It would be sad if I had to uncheck “Also aggregate inline CSS” just because of one css line item.
Do you perhaps have a workaround or idea for this?

Many thanks in advance!
Cheers,
Michael

  • This topic was modified 1 hour, 53 minutes ago by mbainbridge.
  • This topic was modified 1 hour, 52 minutes ago by mbainbridge.
  • This topic was modified 1 hour, 50 minutes ago by mbainbridge.
  • This topic was modified 1 hour, 50 minutes ago by mbainbridge.
Viewing all 14039 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>