- This topic has 5 replies, 4 voices, and was last updated 4 years, 10 months ago by David.
-
AuthorPosts
-
April 5, 2017 at 8:42 am #302099Christoph
Hi,
I am getting the following error in my browser console when calling any backend page:Mixed Content: The page at 'https://mydomain.net/wp-admin/index.php' was loaded over HTTPS, but requested an insecure stylesheet 'http://fonts.googleapis.com/css?family=Open+Sans%3A400%2C700&ver=6f8d69770c7c567b895ad9d598239c4d'. This request has been blocked; the content must be served over HTTPS.
Now, I know that you have stated elsewhere that generatepress is calling google fonts as //fonts…, thus avoiding this error. However, the font that is being called here is Open Font (the default GP font), I am posting my request here because I suspect that maybe it is a problem GP nevertheless? (Although I’m not sure why the error would occur only in the back-end and not in the front-end.)
I checked line 56 of /wp-admin/index.php but I have no idea why the error is supoosed to originate there because line 56 says:
$help .= '<p>' . __( '<strong>Screen Options</strong> — Use the Screen Options tab to choose which Dashboard boxes to show.' ) . '</p>';
I have no idea where else to look…
April 5, 2017 at 10:25 am #302158TomLead DeveloperLead DeveloperI’m assuming that call is coming from a plugin. GP doesn’t add a version like that.
Might be worth deactivating plugins one by one to see if it goes away when one gets deactivated.
June 19, 2019 at 8:04 pm #935310HenryHi Tom,
My website (https://www.primarypointe.com/) has been giving me these error as well. It is a recent site and it was displaying fine for the first couple of days then today I noticed the drop down menu started to look weird (no new plugins installed) so after checking the console I noticed the font errors. I have disabled all plugins one by one but could not resolve. Below are the errors. Any help would be appreciated. Thanks!
Mixed Content: The page at '<URL>' was loaded over HTTPS, but requested an insecure font '<URL>'. This request has been blocked; the content must be served over HTTPS. VM417:1 Mixed Content: The page at 'https://www.primarypointe.com/' was loaded over HTTPS, but requested an insecure font 'http://www.primarypointe.com/wp-content/themes/generatepress/fonts/generatepress.woff2'. This request has been blocked; the content must be served over HTTPS. VM417:1 Mixed Content: The page at 'https://www.primarypointe.com/' was loaded over HTTPS, but requested an insecure font 'http://www.primarypointe.com/wp-content/themes/generatepress/fonts/generatepress.woff'. This request has been blocked; the content must be served over HTTPS. VM417:1 Mixed Content: The page at 'https://www.primarypointe.com/' was loaded over HTTPS, but requested an insecure font 'http://www.primarypointe.com/wp-content/themes/generatepress/fonts/generatepress.ttf'. This request has been blocked; the content must be served over HTTPS. (index):1 Mixed Content: The page at 'https://www.primarypointe.com/' was loaded over HTTPS, but requested an insecure font 'http://www.primarypointe.com/wp-content/themes/generatepress/fonts/generatepress.woff2'. This request has been blocked; the content must be served over HTTPS. (index):1 Mixed Content: The page at 'https://www.primarypointe.com/' was loaded over HTTPS, but requested an insecure font 'http://www.primarypointe.com/wp-content/themes/generatepress/fonts/generatepress.woff'. This request has been blocked; the content must be served over HTTPS. (index):1 Mixed Content: The page at 'https://www.primarypointe.com/' was loaded over HTTPS, but requested an insecure font 'http://www.primarypointe.com/wp-content/themes/generatepress/fonts/generatepress.ttf'. This request has been blocked; the content must be served over HTTPS.
June 20, 2019 at 7:59 am #935995DavidStaffCustomer SupportHi there,
that looks like an SSL was added after the plugin was installed, rebuilding URLs with a plugin like Velvet Blues Update URLs should resolve that.
Alternatively if you’re using the latest version of the GP Theme 2.3 in Customizer > General you can now chose SVG Icons which eliminates the need for the font. Just be mindful if you have used these fonts in your own HTML they won’t work anymore.
June 20, 2019 at 9:04 am #936103HenryThank you! David. I used Velvet Blues Update URLs but it found no URLs that needed to be changed. However, changing the Icon type to SVG did work! Thank you!
June 20, 2019 at 9:10 am #936115DavidStaffCustomer SupportGlad to hear that!
-
AuthorPosts
- You must be logged in to reply to this topic.