Cheryl
Forum Replies Created
-
Forum: Plugins
In reply to: [Autoptimize] Pb with last update + DIVI themeYes, I could upload images. What’s strange is that I tried reenabling the JS optimization right now, cleared the cache MANY times and now images are all showing. I’ll check in the morning again. I did change the setting on a security plugin, but I had tried disabling it previously (at least I think I did) and it didn’t seem to make a difference.
I’ll keep you posted if the problem has, in fact, worked iteself out.
Forum: Plugins
In reply to: [Autoptimize] Pb with last update + DIVI themeOK, I sent them a support message. But previously I’ve been told I have too much optimization. I thought I had just the right amount as it WAS speeding my site without breaking it but…
Forum: Plugins
In reply to: [Autoptimize] Pb with last update + DIVI themeHi,
I’m jumping into this topic as I have the same issue. Autoptimize was working fine, even last night. I ran theme update last night and them images were showing but I note that this morning NONE of my images added through my theme are showing. I use Extra, which is Divi with a few differences so I’m thinking it’s something to do with the recent theme update. I already had the above options unchecked. When I uncheck “aggregate JS files” it fixes the problem — but then does have a bit of a negative effect on site speed. It worked before just fine.
Thanks
CherylForum: Plugins
In reply to: [Autoptimize] Previously working now won’t let Divi builder loadWait!
Too early in the morning, I guess and I’m not thinking straight yet:)The other reason that I removed the noptimize filter last night is that the builder does not load if it’s in place. With the updated plugin, the builder now will load. However, if I have an additional filter in place in functions.php, the builder will not load.
For now, it does seem like the pages that I “noptimized” previously are working now, though I’ll have to check them all.
I’ll just keep the additional filter out for now unless I find something’s not working right.
Again, thanks for your help!
CherylForum: Plugins
In reply to: [Autoptimize] Previously working now won’t let Divi builder loadOK, I initially removed the extra filter because it seemed that a page with a form which previously wouldn’t work if it had autoptimize on now wasn’t loading some of the form fields while the noptimize filter was in place…and was doing so without it.
But I’ve tried again and it is showing the fields…I think it was likely just that I had to purge my cache a few times:)
Thank you so much for your help — you’re awesome! I’ll keep an eye on how its going with the update.
CherylForum: Plugins
In reply to: [Autoptimize] Previously working now won’t let Divi builder loadOK, I installed the beta plugin and it seems to be working so far. I removed the existing filter from functions.php and pages (at least ones that I’ve looked at) that I had previously “noptimized” seem to be working and the builder is loading.
Will I still need to add a tag to the URL of pages I don’t wish to optimize?
Thanks
CherylForum: Plugins
In reply to: [Autoptimize] Previously working now won’t let Divi builder loadThis works:
// Disable autoptimize on pages with the word "PageSpeed" in the URL add_filter('autoptimize_filter_noptimize','pagespeed_noptimize',10,0); function pagespeed_noptimize() { if (strpos($_SERVER['REQUEST_URI'],'PageSpeed')!==false) { return true; } else { return false; } }
And allows the builder to load. However, it only works when I remover the other, similar, filter to disable autoptimize on pages that have the word “noptimize” in the URL. What’s the solution here — is there a way to filter multiple terms or do I need to change any “noptimize” I have in specific URLS to PageSpeed?
Thanks
CherylForum: Plugins
In reply to: [Autoptimize] Previously working now won’t let Divi builder loadHmmm…I have only a very vague idea of how I might go about that and I’m worried I end up spending a long time on it and breaking stuff ??
CherylForum: Plugins
In reply to: [Autoptimize] Previously working now won’t let Divi builder loadOK, here’s a link to the page source from a random test page with the noptimize filter set on (noptimize in the URL). In this case, the builder loads:
https://gist.github.com/cherylcheryl/3f28ab46e1d8a8b79ccbc67eda7a0cb5
And here’s a link to the page source from the same page without noptimize in the URL (in this case the builder times out and will not load):
https://gist.github.com/cherylcheryl/010464d5eb2bb97cb4cc436b9e4410a9
Thanks.
Forum: Plugins
In reply to: [Autoptimize] Previously working now won’t let Divi builder loadWell, I’m trying but with all of the css stuff that seems to get output (I think) by critical css, pastebin is telling me that I’m exceeding the allowed size and I really don’t want to pay for a pastebin Pro account right now. Should I remove part of the css from the file and try again?
Forum: Plugins
In reply to: [Autoptimize] Previously working now won’t let Divi builder loadOops sorry about that. Never used Pastebin before, not sure if it would embed here.
Here’s the link to the script:
https://pastebin.com/HRBc50gtAnd here it is just pasted in:
// Disable autoptimize on pages with the word “noptimize” in the URL
add_filter(‘autoptimize_filter_noptimize’,’my_ao_noptimize’,10,0);
function my_ao_noptimize() {
if (strpos($_SERVER[‘REQUEST_URI’],’noptimize’)!==false) {
return true;
} else {
return false;
}
}Forum: Plugins
In reply to: [Autoptimize] Previously working now won’t let Divi builder loadI already tried going into Developer Mode on Cloudflare. Nothing changed. I also have a small site with almost no content, same thing (Extra,which uses Divi builder) and the same settings enabled…things are working fine, there, which suggests to me that another plugin is the culprit. This site has lots of plugins but was working fine until recently. I’ve tried disabling other plugins, but I’ve not been successful with fixing the issue except by disabling Autoptimize.
Here’s a link to a screenshot of the main autoptimize panel:
https://www.pnwbeyond.com/wp-content/uploads/2019/11/screenshot-autoptimize.png
I also have google fonts disabled and emojis disabled in the extra panel.And here’s the filter I have to disable autoptimize on certain pages:
<iframe src="https://pastebin.com/embed_iframe/HRBc50gt" style="border:none;width:100%"></iframe>
If I change the URL of a page to include noptimize then the builder works for that page.Around the time this started (just a few days ago), I updated the theme, and a couple of plugins but those don’t seem to be the source of an issue. I also let a plugin developer change a bit of CSS in their plugin on my site that was causing conflicts with some css in my site theme. But I don’t think that could have to do with this issue. I tried disabling that plugin and nothing changed.
I’d like to keep using Autoptimize as it speeds things up vs using the minification in WPRocket.
Thanks for your help!
Forum: Plugins
In reply to: [Autoptimize] Previously working now won’t let Divi builder loadHi…I already tried disabling the rocket loader and it didn’t fix anything. I don’t have any of the CSS or JS optimization turned on in WPRocket, just caching. I also tried disabling the minification that was turned on in the theme itself, but that didn’t do anything. The only thing that will let me use the builder is to turn off Autoptimize while I use it.
This is strange because it was working fine until just a couple of days ago and because I have it set to NOT optimize when I’m logged it…yet if I set a page to “noptimize” (I have the script for non optimizing certain pages in my functions.php) it allows the builder to work for that page.
Forum: Plugins
In reply to: [Autoptimize] Previously working now won’t let Divi builder loadHi,
I still have the same issue when I disable AsyncJS.
I get the following console errors:
Failed to load resource: net::ERR_BLOCKED_BY_CLIENT
post.php?post=21634&action=edit:1 Unchecked runtime.lastError: The message port closed before a response was received.
https://www.pnwbeyond.com/:8 Uncaught SyntaxError: Unexpected token ‘function’
masonry.min.js:9 Uncaught TypeError: Cannot read property ‘prototype’ of undefined
at masonry.min.js:9
at masonry.min.js:9
at masonry.min.js:9
scripts.min.js:42 Uncaught TypeError: EventEmitter is not a constructor
at scripts.min.js:42
at scripts.min.js:42
at scripts.min.js:42
post.php?post=21634&action=edit:1 Refused to execute script from ‘https://track2.securedvisit.com/sync/1540_03681?id=undefined’ because its MIME type (‘image/gif’) is not executable.Forum: Plugins
In reply to: [Autoptimize] Previously working now won’t let Divi builder loadRemove query strings is unchecked already.
Thanks