I know this error message was responded to in another question, but those were for sites that are live and visible. I’m using the latest free version of OMGF on a staging site and getting this error message. My theme is Hello, I have no plug-ins that are on the conflicting plugins list, and my staging site is https and I’ve attached a screenshot of the OMGF panel. Any ideas why I’m getting this message? Is it because it’s a staging site? Thank you in advance. https://imgur.com/QNSAKqv
]]>OMGF seems to be working great… but when I come back to the settings after a few days, I find that has created multiple stylesheets and the list keeps growing.
Cache Status
omgf-stylesheet-176 (stored in wp-content/uploads/omgf/omgf-stylesheet-176) Configure
omgf-stylesheet-184 (stored in wp-content/uploads/omgf/omgf-stylesheet-184) Configure
omgf-stylesheet-161 (stored in wp-content/uploads/omgf/omgf-stylesheet-161) Configure
omgf-stylesheet-139 (stored in wp-content/uploads/omgf/omgf-stylesheet-139) Configure
omgf-stylesheet-105 (stored in wp-content/uploads/omgf/omgf-stylesheet-105) Configure
omgf-stylesheet-307 (stored in wp-content/uploads/omgf/omgf-stylesheet-307) Configure
omgf-stylesheet-299 (stored in wp-content/uploads/omgf/omgf-stylesheet-299) Configure
omgf-stylesheet-183 (stored in wp-content/uploads/omgf/omgf-stylesheet-183) Configure
omgf-stylesheet-234 (stored in wp-content/uploads/omgf/omgf-stylesheet-234) Configure
omgf-stylesheet-169 (stored in wp-content/uploads/omgf/omgf-stylesheet-169) Configure
omgf-stylesheet-225 (stored in wp-content/uploads/omgf/omgf-stylesheet-225) Configure
omgf-stylesheet-157 (stored in wp-content/uploads/omgf/omgf-stylesheet-157) Configure
omgf-stylesheet-204 (stored in wp-content/uploads/omgf/omgf-stylesheet-204) Configure
googlesitekit-fonts (stored in wp-content/uploads/omgf/googlesitekit-fonts) Configure
omgf-stylesheet-242 (stored in wp-content/uploads/omgf/omgf-stylesheet-242) Configure
omgf-stylesheet-117 (stored in wp-content/uploads/omgf/omgf-stylesheet-117) Configure
omgf-stylesheet-163 (stored in wp-content/uploads/omgf/omgf-stylesheet-163) Configure
omgf-stylesheet-220 (stored in wp-content/uploads/omgf/omgf-stylesheet-220) Configure
omgf-stylesheet-205 (stored in wp-content/uploads/omgf/omgf-stylesheet-205) Configure
omgf-stylesheet-247 (stored in wp-content/uploads/omgf/omgf-stylesheet-247) Configure
omgf-stylesheet-90 (stored in wp-content/uploads/omgf/omgf-stylesheet-90) Configure
omgf-stylesheet-154 (stored in wp-content/uploads/omgf/omgf-stylesheet-154) Configure
omgf-stylesheet-122 (stored in wp-content/uploads/omgf/omgf-stylesheet-122) Configure
omgf-stylesheet-160 (stored in wp-content/uploads/omgf/omgf-stylesheet-160) Configure
Any idea of what could be causing this?
Thanks
]]>Parse error: syntax error, unexpected ‘?’ in /homepages/16/d68401372/htdocs/ibk2018/wp-content/plugins/host-webfonts-local/includes/admin/class-settings.php on line 485
Thanx for your support, Kindly Hendrik
]]>I’m the developer of OMGF and a client just ran into a compatibility issue with your plugin, so I thought I’d notify you of my findings.
You’re adding unique identifiers to the id
attribute, which is used by plugins, like OMGF and Autoptimize’s Critical CSS addon, to identify stylesheets and check if they need to be optimized. But since you’re generating random unique identifiers on each pageload (it seems?), these plugins will continue to optimize these stylesheets, eventually crashing the site.
Some examples:
I’ve fixed the issue in OMGF, but I suggest you remove the unique identifiers from the id
attribute, since it’s a misuse of the id
attribute’s purpose and because more (CSS optimization) plugins might use the id
attribute for similar purposes.
Thank you for quickly responding to my too hastily written negative review. Let me say in advance that I can’t find the option I meant in my review, so I will edit the review again.
I don’t know what problem I had with OMGF, which is why I apologize again.
Now to the problem, including the steps I take:
Themify: https://themify.me/
Themify stops working as soon as I enable OMGF. If I click on Disable Concate CSS within Themify in the performance settings (caching, etc), then it works again.
I have to add that it’s really not that important, since Themify regularly causes problems according to colleagues, possibly is also not a bug of OMGF, where the problem really only occurs when I enable OMGF.
Possibly it is because of your pagescan that it somehow gets into query with Themify. In the browser console you will find nothing about it, usually it says which files can no longer be included, or cause 404.
Maybe you see something directly, if not, not bad. Here my colleague must then find another solution for, so that everything works again.
Thank you!
Greetings Kevin
]]>https://prnt.sc/l_4Z_JtIAKzd
]]>Do I need to configure my wp-config (or any other file) differently, so that omgf can work?
There is no warning in my OMGF settings, that anything went wrong.
Anyone else with this problem?
@Daan: thank you for this great plugin –?I hope I’ll get it to be working again
]]>Access to font at ‘https://www.mysite.com/wp-content/uploads/omgf/sydney-google-fonts/lato-normal-400.woff2’ from origin ‘https://www.mysite.com’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.
This error indicates a missing https in the CSS file but the CSS looks just perfect and all fonts are loaded via https and the same domain:
/**
* Auto Generated by OMGF
* @author: Daan van den Bergh
* @url: https://ffw.press
*/
@font-face {
font-family: 'Lato';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url('https://www.mysite.com/wp-content/uploads/omgf/sydney-google-fonts/lato-normal-400.eot');
src:
url('https://www.mysite.com/wp-content/uploads/omgf/sydney-google-fonts/lato-normal-400.woff2') format('woff2'),
url('https://www.mysite.com/wp-content/uploads/omgf/sydney-google-fonts/lato-normal-400.woff') format('woff'),
url('https://www.mysite.com/wp-content/uploads/omgf/sydney-google-fonts/lato-normal-400.ttf') format('ttf');
}
]]>