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

I try to defer parsing of JS using autoptimize but it doesn’t seem to help

$
0
0

Replies: 3

Dear support,

I have done some GTMetrix tests for my site, and I seem to have optimized most of it, except for deferring the javascript. However, after I choose the Autoptimize settings that should defer the parsing of javascript (as described here: https://technumero.com/remove-render-blocking-javascript/), GTMetrix still says I have to defer parsing of javascript. I can’t get it to work.

Additional question: There are a lot of facebook.com javascript on my site, apparently. Are these from the Facebook pixel or from ManyChat or something? I didn’t even know I had them on my site.

I am pretty lost, so help would be much appreciated. Thanks a lot in advance.

Best,
Maarten


Autoptimize and FastCGI

$
0
0

Replies: 1

Hello everyone!

Can Autoptimize be used with FastCGI?

My blog is running on a LEMP stack and doesn’t use any other caching methods or plugins other than FastCGI.

Thanks in advance.

Giant space above all Youtube video when VIEWING Posts in Gutenberg v.3.9.0

$
0
0

Replies: 3

Hi I posted this as an error in Github’s Gutenberg issue’s section. We figured out it was Autoptimize causing the problem.

I have disabled Autoptimise in the mean time but you can see the error and a snapshot here: Gutenberg issues – github

Additional CSS is suddenly added to all blocks containing a Youtube video in Gutenberg v.3.9.0. You cant see the space in the Editor, only when VIEWING the post. If you view the block you will see additional CSS added: “wp-has-aspect-ratio wp-embed-aspect-16-9” etc

I’m on latest version of WordPress 4.9.8, Gutenberg v.3.9.0 and lsatest version of Hueman Pro theme, you can install Hueman Free theme if need be.

Thank you for your help! 🙂

  • This topic was modified 2 hours, 30 minutes ago by Pikkals.
  • This topic was modified 2 hours, 29 minutes ago by Pikkals.

Auptoptimize 2.4 “war room”

$
0
0

Replies: 0

As you might have noticed I have just released Autoptimize 2.4. This thread is where you can report suspected issues with the update until let’s say the end of Sept.

Plugin blocks html fields for WCMp advanced fronend manager

Issue with CSS with the new version

$
0
0

Replies: 2

the icons at the top of page (in the above mentioned page all is fine) like language switcher, shopping card, and if hidden menu is opened, the close button are vanished (just a square then).

I only updated to your new version on my staging side, and did not push it to live, because could not sort that out.

Regards

New Feature Question

$
0
0

Replies: 2

Hey Frank,

In the release notes it says:

Autoptimize “listens” to page caches being cleared, upon which it purges it’s own cache as well

So clearing my page cache also clears AO cache? Won’t this result in 404 errors for AO css/js?

2.4.0 pushes CPU usage to 100%

$
0
0

Replies: 0

Hola!

I am using Autoptimize and I really like it.

However, latest version pushes CPU usage to 100% on the server, taking the website down with 30 online users.

I have disabled it by now, and confirmed it was the issue origin.
Is there a way I can collect logs to help you diagnose?

Gracias!


2.4.0 causes errors

$
0
0

Replies: 1

After updating to 2.4.0, I go to my dashboard and everything starts flickering. It’s hard to get anything to work because the pages keep refreshing. I also get this error message:

PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘autoptimize_flush_pagecache’ not found or invalid function name in /home/[redacted]/public_html/main/wp-includes/class-wp-hook.php on line 284

When I first saw this this afternoon, I was finally able to turn on Rollback and go back to 2.3.4. Then Jetpack automatically updated the plugin again, but everything seemed to be working okay now, so I left it.

Hours later, I opened my dashboard again, and the flickering was happening again. Once again I managed to roll it back to 2.3.4, turned off Jetpack’s automatic update, and now it’s fine.

I am using this snippet:

// Automatically clear Autoptimize cache if it goes beyond 2GB
if (class_exists(‘autoptimizeCache’)) {
$myMaxSize = 10000; # You may change this value to lower like 500000 for 500MB if you have limited server space
$statArr=autoptimizeCache::stats();
$cacheSize=round($statArr[1]/1024);

if ($cacheSize>$myMaxSize){
autoptimizeCache::clearall();
header(“Refresh:0”); # Refresh the page so that autoptimize can create new cache files and it does not break the page after clearall.
}
}

…But I don’t know if this is actually related, because I use the snippet with Autoptimize on two sites, and the other site is running normally.

Diacritical characters missing from Google fonts

$
0
0

Replies: 0

Frank,
I really appreciate all the work you do with Autoptimize. I tried Google font optimisation in the past, but it didn’t work at all. I have tried now with 2.4.0 and it is better, but it doesn’t fully work. I see all basic 26 latin characters, but the diacritical characters are missing. It seems you load just the basic version of Google font, without diacritical European characters.
If needed, I can provide you two almost identical URL’s – one with Google font optimization enabled (and broken some characters) and the other correct. Do you need it?
Regards,

Edge and IE11 issue when loading optimized css file

$
0
0

Replies: 1

Hi Autoptimize Team!

I’m having a problem with the request load of a CSS file that is generated with “Autoptimized”. The request process of the file falls into a loop, always giving me a 304 response. This only happens on Edge and IE11.
I made some changes to the project I’m working on which only involved deactivating the JS process of the plugin. Any idea on what is causing this?

Thanks!

  • This topic was modified 18 minutes ago by chicop.

Problem with image cdn

$
0
0

Replies: 1

Hi Frank,

quick feedback. I activated image cdn to test. Works great but the cdn doesn’t remove the domain name (https://domain.com) from the image URL’s and hence some pictures don’t display.
https://bit.ly/2OMMuOq

Thanks and looking forward to hearing from you.

Best regards,

Fatal error on async js after 2.4.0

$
0
0

Replies: 0

Hi,
Last update broke the entire site.
Following is the setup.

WordPress 4.9.8
Autoptimize: Active
Optimize CSS: Active
Async JS Plugin: Active

Async JavaScript: Defer
jQuery: exclude

Plugin: autoptimize
enable autoptimize support: yes
jQuery: defer

<strong>W3 total cache:</strong>
<strong>Page cache:</strong> OpCache
<strong>Object cache </strong>- redis 
<strong>Db cache:</strong> Redis
<strong>CDN:</strong> Mirror: CloudFront 
<strong>browser cache:</strong> active

Plugin it shows in error for JS: Super Socializer (deduced from referece heator.com)

<strong>Error from debug.log</strong>
<code></code>
[26-Sep-2018 11:08:39 UTC] PHP Fatal error:  Uncaught exception 'JSMin_UnterminatedStringException' with message 'JSMin: Unterminated String at byte 475: 'http://support.heateor.com/browser-blocking-social-features/\' target=\'_blank\' style=\'color:#33a9d8\'>http://support.heateor.com/browser-blocking-social-features/</a> to unblock these.

;}catch(e){}' in /var/www/htdocs/wp-content/plugins/autoptimize/classes/external/php/jsmin.php:211
Stack trace:
#0 /var/www/htdocs/wp-content/plugins/autoptimize/classes/external/php/jsmin.php(152): JSMin->action(1)
#1 /var/www/htdocs/wp-content/plugins/autoptimize/classes/external/php/jsmin.php(86): JSMin->min()
#2 /var/www/htdocs/wp-content/plugins/autoptimize/classes/autoptimizeSpeedupper.php(38): JSMin::minify('try{var theCham...')
#3 [internal function]: autoptimizeSpeedupper->js_snippetcacher('try{var theCham...', '')
#4 /var/www/htdocs/wp-includes/class-wp-hook.php(286): call_user_func_array(Array, Array)
#5 /var/www/htdocs/ in /var/www/htdocs/wp-content/plugins/autoptimize/classes/external/php/jsmin.php on line 211

Site Dead After Update

$
0
0

Replies: 0

My entire site is completely dead. Can’t log in. Support team at Inmotion can’t help. Here are the errors being seen.

Warning: include(/home/truths6/public_html/wp-content/plugins/autoptimize/classlesses/autoptimizePartners.php): failed to open stream: No such file or directory in /home/truths6/public_html/wp-content/plugins/autoptimize/autoptimize.php on line 27

Warning: include(): Failed opening ‘/home/truths6/public_html/wp-content/plugins/autoptimize/classlesses/autoptimizePartners.php’ for inclusion (include_path=’.:/opt/cpanel/ea-php71/root/usr/share/pear’) in /home/truths6/public_html/wp-content/plugins/autoptimize/autoptimize.php on line 27

Warning: include_once(): Failed opening ‘/home/truths6/public_html/wp-content/plugins/autoptimize/classlesses/autoptimizeCacheChecker.php’ for inclusion (include_path=’.:/opt/cpanel/ea-php71/root/usr/share/pear’) in /home/truths6/public_html/wp-content/plugins/autoptimize/autoptimize.php on line 325

Warning: include_once(): Failed opening ‘/home/truths6/public_html/wp-content/plugins/autoptimize/classlesses/autoptimizeExtra.php’ for inclusion (include_path=’.:/opt/cpanel/ea-php71/root/usr/share/pear’) in /home/truths6/public_html/wp-content/plugins/autoptimize/autoptimize.php on line 330

Warning: Cannot modify header information – headers already sent by (output started at /home/truths6/public_html/wp-content/plugins/autoptimize/autoptimize.php:27) in /home/truths6/public_html/wp-includes/pluggable.php on line 1219

Increased PHP Requests

$
0
0

Replies: 1

I installed Autoptimize on Sunday night, and it worked well on Monday, I used a code suggested in a forum to block Autoptimize from running on pages with “noopt” in the address by editing the functions.php file, and have 2 pages with that identifier (just trying to give all facts)

What’s happening is Tuesday at around 12pm my site all of a sudden got flooded with php requests and took the site down. My hosting provider had to restart the apache server, I cleared all caches’ and it worked fine until about an hour ago when the exact same thing happened.

Is this something you’ve encountered previously, and is there a setting I should be adjusting?


Image CDN loading issues

$
0
0

Replies: 0

Hi,

After activating and testing a bit more I found another image related issue.
Please check the following GTmetrix report. https://gtmetrix.com/reports/cormilu.com.br/9ZztHmp7
As you’ll see many images aren’t using the CDN and the ones that are have significant loading issues.

Any idea what might be causing this?
Thanks and looking forward to hearing from you.

Best regards,

No longer compatible with DIVI Theme

No longer compatible with AVADA Theme

$
0
0

Replies: 0

Hi Guys

Just really a FYI

Used your plugin from almost the beginning, always the easiest and best, unfortunately latest version 2.4.0 breaks all our 20+ sites running Avada theme.

The CSS and JS files created by AO no longer load, admin area suffers from perpetual loading and flickering, we run our own PLESK server so we have complete control over everything so it wasn’t a problem cleaning up after the failures.

Reverted back to version 2.3.4 for the moment.

I’m going to set up a staging site with one of ours and send you any errors outputted, couldn’t do it on the live sites as obviously they need to work!

Cheers

Chris

Autoptimize 2.4.0 breaks client site

$
0
0

Replies: 5

I get the following errors in the php error log when the site is using the latest Autoptimize:

[27-Sep-2018 12:57:25 UTC] PHP Warning:  require(/home4/***/public_html/wp-content/plugins/autoptimize/classes/autoptimizeCache.php): failed to open stream: No such file or directory in /home4/***/public_html/wp-content/plugins/autoptimize/autoptimize.php on line 71
[27-Sep-2018 12:57:25 UTC] PHP Warning:  require(/home4/***/public_html/wp-content/plugins/autoptimize/classes/autoptimizeCache.php): failed to open stream: No such file or directory in /home4/***/public_html/wp-content/plugins/autoptimize/autoptimize.php on line 71
[27-Sep-2018 12:57:25 UTC] PHP Fatal error:  require(): Failed opening required '/home4/***/public_html/wp-content/plugins/autoptimize/classes/autoptimizeCache.php' (include_path='.:/opt/php70/lib/php') in /home4/***/public_html/wp-content/plugins/autoptimize/autoptimize.php on line 71
[27-Sep-2018 12:57:26 UTC] PHP Fatal error:  Allowed memory size of 536870912 bytes exhausted (tried to allocate 75497472 bytes) in /home4/***/public_html/wp-content/plugins/autoptimize/classes/external/php/yui-php-cssmin-bundled/Minifier.php on line 286
[27-Sep-2018 12:57:26 UTC] PHP Fatal error:  Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0

The site will not load at all until the plugin is completely deleted. I tried upgrading the PHP version from 5.6 to 7.0 and increasing the memory limit via php.ini but it didn’t help. Once it had been upgraded to 7.0 I got this message when trying to load the site, whereas before it would either time out or end up with a database connection error:

Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0

Deleted for now.

Enable gzip compression

$
0
0

Replies: 1

Frank, how would I go about enabling gzip compression? Where do I put the following snippet?

add_filter(‘autoptimize_filter_cache_create_static_gzip’,__return_true);

Also, I plan on upgrading to PHP7.2 soon, will this snippet work now for PHP5.6 and 7.2 after upgrade?:
add_filter(‘autoptimize_filter_cache_create_static_gzip’,’__return_true’);

Viewing all 14094 articles
Browse latest View live


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