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

[SOLVED] BBPress Topic Editor breaks with Autoptimize

$
0
0

Replies: 0

ISSUE: With Autoptimize active, JS Optimization active, and “Also optimize for logged in users?” checked, the topic editor and reply editor in BBPress lose their buttons.

SOLUTION: add quicktags to the JS optimization exclude list.

*I would love to know why quicktags is loaded in the wrong order or missed when JS optimization is active. Any thoughts?


Timeouts with WordPress Dashboard

$
0
0

Replies: 0

I’m having increasing problems with pages opening in my WordPress admin pages if Autoptimize is installed. Suddenly pages would not open and I’d get a message saying that the process has timed out at 180 sec or so and Autoptimize would be listed in the message. I’d have to go into my site via FTP and rename the plugin before things started working again.

I’d reinstall Autoptimize and things would work for a while and then the same issue would arise. Clearing the caches didn’t make any difference that I could tell. Today I had the same problem and followed the same procedure, but this time pages would immediately not load, so I disabled Autoptimize and pages would load again.

I should also note that while Autoptimize was installed, I’d lose connection with the server and pages that were open for editing. Again, if Autoptimize is disabled, I don’t have this problem.

This only started to happen with version 2.3.4 as far as I can tell.

  • This topic was modified 21 minutes ago by mnorth.

Detected by reading the HTML source

$
0
0

Replies: 2

Hello I like your plugin only it is the only plugin that I see on https://hackertarget.com/wordpress-security-scan/ under WordPress plugins. Can you turn this off?

The following plugins were detected by reading the HTML source of the WordPress sites front page.

autoptimize – latest release (2.3.4)
https://autoptimize.com/

Plugins are a source of many security vulnerabilities within WordPress installations, always keep them updated to the latest version available and check the developers plugin page for information about security related updates and fixes.

There are likely more plugins installed than those listed here as the detection method used here is passive. While these results give an indication of the status of plugin updates, a more comprehensive assessment should be undertaken by brute forcing the plugin paths using a dedicated tool.

Thanks for Support!

Google Fonts asynchronous loading not working

$
0
0

Replies: 0

Hi,

If I enable the CSS optimization, none of the Google Fonts used by the site are loaded, even though they’re set to load asynchronously using WebFont.js.

I’ve checked the code and found the WebFont script, but don’t know what else could be happening.

Would you please point me in the right direction?

Thanks,

Ricardo

website don’t load css, js, jquery

Autoptimize Cache Fill Up Quickly Problem

$
0
0

Replies: 3

Hi Frank,

My Cache fill up so quickly 2 times/day , How can I fix that ? & every time I click delete cache what’s really happen ?

Please Help
Thank’s

Css Problem

$
0
0

Replies: 2

This Page on my blog lacks visual CSS, I don’t understand what and where the problem is all the other pages are working absolutely fine.
When I View This page when Logged in as an Admin it Looks Perfect, but not same for users.

Please Check and help me solve it step by step.

PS. I’m not a programmer, I don’t understand Programming stuffs that much.

Website stopped working after plugin installed

$
0
0

Replies: 2

Hello, My website stopped working after installing and activating the autoptimize plugin. My photos and style disappeared and my menu plugin stopped working. It appears that its not allowing JS to load. Do you have any suggestions on how to fix this? I tried removing the plugin and it still does not work after that.
Thank you.


Add hook into classes\autoptimizeHTML.php

$
0
0

Replies: 1

Hello

Add please hook into classes\autoptimizeHTML.php -> public function minify() -> before ‘return true’ https://clip2net.com/s/3TH8tbi

This will allow do such tricks in functions.php as:

add_filter('my-html-code-optimizer', function($content) {

    $site_url = 'https://bulk-editor.com/';

    $content = str_replace("type='text/javascript'", ' ', $content);
    $content = str_replace('type="text/javascript"', ' ', $content);

    $content = str_replace("type='text/css'", ' ', $content);
    $content = str_replace('type="text/css"', ' ', $content);

    $content = str_replace($site_url . '/wp-includes/js', '/wp-includes/js', $content);
    $content = str_replace($site_url . '/wp-content/cache/autoptimize', '/wp-content/cache/autoptimize', $content);
    $content = str_replace($site_url . '/wp-content/themes/', '/wp-content/themes/', $content);
    $content = str_replace($site_url . '/wp-content/uploads/', '/wp-content/uploads/', $content);
	$content = str_replace($site_url . '/wp-content/plugins/', '/wp-content/plugins/', $content);

    return $content;
}, 10, 1);

Now it can be done by hardcode only.

text/javascript

When activating Autoptimize the https breaks

$
0
0

Replies: 3

I’m working on docdeal.fr (one page site) and when I switch from http to https (Lets Encrypt certificate), and activate Autoptimize (CSS, JS, HTML) the https breaks: padlock non secure.

Desactivating Autoptimize does not put the padlock green again…

Does anybody have an idea?

Paul

404 Errors on PHP Cached Files

$
0
0

Replies: 3

Hey Frank,

I’m moving host providers and did a migration which lead me to these errors in my console:

This tells me it cannot find the proper “.php” files. It seems like AO is not producing these files for some reason. I looked in wp-content/cache/autoptimize/ and only see autoptimize_{hashOfNumbers}.php.none files. Not sure why it’s not working.

I’ve tried deactiviting/reactivating the plugin and purging server host and AO cache without success. Do you have any ideas what it could be?

Thank you,

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

PHP 7.2 errors

$
0
0

Replies: 0

After update get some errors (PHP Deprecated) with PHP 7.2

Version plugin: 5.3.2
WP: 4.9.5

[26-Apr-2018 03:54:19 UTC] PHP Deprecated:  Function create_function() is deprecated in /home/tamainut/public_html/wp-content/plugins/autoptimize/classes/autoptimizeBase.php on line 213
[26-Apr-2018 03:54:19 UTC] PHP Deprecated:  Function create_function() is deprecated in /home/tamainut/public_html/wp-content/plugins/autoptimize/classes/autoptimizeBase.php on line 229
[26-Apr-2018 03:54:19 UTC] PHP Deprecated:  Function create_function() is deprecated in /home/tamainut/public_html/wp-content/plugins/autoptimize/classes/autoptimizeStyles.php on line 98
[26-Apr-2018 03:54:19 UTC] PHP Deprecated:  Function create_function() is deprecated in /home/tamainut/public_html/wp-content/plugins/autoptimize/classes/autoptimizeBase.php on line 213
[26-Apr-2018 03:54:19 UTC] PHP Deprecated:  Function create_function() is deprecated in /home/tamainut/public_html/wp-content/plugins/autoptimize/classes/autoptimizeBase.php on line 229
[26-Apr-2018 03:54:19 UTC] PHP Deprecated:  Function create_function() is deprecated in /home/tamainut/public_html/wp-content/plugins/autoptimize/classes/autoptimizeStyles.php on line 483
  • This topic was modified 45 minutes ago by abkrim.

Autoptimize-created JS not cached by Cloudflare

$
0
0

Replies: 1

Hello,

I think it’s more of a Cloudflare thing but I thought maybe some of you can tell me how to solve this issue involving Autoptimize.

I’m using Cloudflare on our site and I noticed that the JS file created by Autoptimize isn’t cached for some reason even when CF’s cache everything option is enabled and even after purging the cache so CF can get a fresh copy of the files. Here’s what I get from Pingdom: https://prnt.sc/jabuc2. Is it because the file is created in real time? If so, what can I do to fix it?

Thanks! 🙂

Compatibility with ConvertPlus plug-in

$
0
0

Replies: 1

Autoptimize creates a huge cache(+- 500 MB in les then 24 hours) when used in combination with Convert Plus plug-in.
Any idea what I can do about it.

Thanks,

Sjoerd


brooklyn theme/united themes/themeforest incompatible but there’s a FIX

$
0
0

Replies: 1

If you use Brooklyn wordpress theme and just upgraded to 4.6.x, autoptimize isn’t compressing your scripts or styles. You need to add this to wp-config.php for now: define('AUTOPTIMIZE_INIT_EARLIER','true');

Cleaning cache after a divi theme update network wide

$
0
0

Replies: 0

I have a multisite with many blogs using divi theme.

Divi has an update where some of its js files are updated. In addition, it renders its own version of a cached js and css file dynamically.

If I am using your product, i will create page do update the page, and then autoptimize seems to do a great job of creating the optimized files that include the “cached files” divi makes.

So…what happens in the scenario if I have 50 sites all using the divi theme and i update via the network the divi theme to the new version.

Is there a way autoptimize can know that has occurred, clear its own cache and then rebuild its cache when the new page view hits…or will it be using the old cached js css files and cause some issues.

Would be create if the plugin is installed via a network that there would be a network setting to clear sites of their cache.

Would love your thoughts before i update my divi theme.

Thanks!

TAAL and preload problems

$
0
0

Replies: 7

I’ve enabled HTTP/2, but I face these problems in Chrome Console:

ErrorUtils caught an error: "Cannot listen to an undefined element. TAAL[2]".
Subsequent errors won't be logged;
see https://fburl.com/debugjs

___

<link rel=preload> has an invalid 'href' value
autoptimize_eba46b86eab5a50526e446d0e6d2de17.js:3 JQMIGRATE: Migrate is installed, version 1.4.1

___
The resource <URL> was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriateasvalue and it is preloaded intentionally.

Thanks.

  • This topic was modified 3 hours, 54 minutes ago by Davide Radice.

CSS for some pages does not load

$
0
0

Replies: 0

CSS for some pages on my blog does not load. While some Pages are loading correctly.
This page is also not. loading correctly :
.
Once I had this same Problem, I was advised to change google fonts settings, but it solved the problem temporarily, It’s happening again.
Plz, Guide me!

Internet Explorer won’t load

$
0
0

Replies: 0

Hi, My website will not load in Internet Explorer giving the following errors:

SCRIPT1046: Multiple definitions of a property not allowed in strict mode
autoptimize_f40a163406f7414c1c3a6759ce80be0b.js (88,27197)

SCRIPT5007: Unable to get property ‘setDefaults’ of undefined or null reference
http://www.globalteer.org (93,895)

Can you help?

Viewing all 14094 articles
Browse latest View live