Broken HTTPS with Pro version of the plugin
-
Hello! I sent in a request via email 2 days ago, but have not heard anything back yet. I thought that maybe I should post it here? This is in regards to the Pro version of the plugin.
Just so you know, I am running v4.2.5 of WordPress along with Woocommerce and W3 Total Cache (W3TC) along with caching everything on CloudFlare. We have our own site certificate. You should also be aware that I am pretty much a newbie who knows just enough to be dangerous.
As soon as I implement the Uji Countdown Premium plugin, it breaks the HTTPS on my site. When I use the “Inspect Element” function in Chrome, I see the following:
Mixed Content: The page at ‘https://www.mysite.com/’ was loaded over HTTPS, but requested an insecure stylesheet ‘https://fonts.googleapis.com/css?family=Aldrich’. This request has been blocked; the content must be served over HTTPS.
Please note that I obscured my domain as I don’t want anyone to think I am trying to drive traffic or create a backlink or anything. I am happy to give you the direct link.
Also please note that when I leave the font in Uji set to default, I get the same error. Only it says “family=None” or “family=Default”. I forget which. I think it is “default”.
So, I have a DEV or sandbox site that is an exact duplicate of the main or live site. In researching this issue on the interwebs, I found a link that indicated using “protocol relative links” and to add the following to the functions.php:
function mytheme_enqueue_styles() {
wp_register_style(‘googleFonts’, ‘//fonts.googleapis.com/css?family=Copse’);
wp_enqueue_style( ‘googleFonts’);
}So I added this to the functions.php file of my child theme (Flatsome theme BTW, don’t think I mentioned that). I purged the cache in W3TC and reloaded the page and the errors when away when checked in “Inspect Element”. Short lived happiness though….keep in mind that the DEV site does not use CloudFlare, just the live site.
When I did the same on my live site, the error persists. Nothing I do will get rid of it. I am not sure if CloudFlare caches the functions.php file, but I still tried to purge that file. I purged the home page. Nothing.
So, I know while this appears to be a caching issue with CloudFlare (and I have just submitted a ticket to them…but they can be a little slow to respond), I am hoping and praying that there is a way to fix this with you. After all, caching with sites such as CloudFlare is getting more and more popular and alot of sites use them. I am hoping there is a fix I can do or there is some way that you might be able to modify your plugin such that HTTPS is not broken when the plugin is used in conjunction with 3rd party caching.
Can you help?
Thank you for your time and assistance.
- The topic ‘Broken HTTPS with Pro version of the plugin’ is closed to new replies.