WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] No SSL due to insecure content (5 posts)

  1. chriskol
    Member
    Posted 7 months ago #

    Hello,
    I want my site to be without warnings regarding SSL.
    I have managed to solve most errors, however this one remains:
    [blocked] The page at https://fentini.com/ ran insecure content from http://fonts.googleapis.com/css?family=Open+Sans%3A400%2C300%2C600%2C700&ver=3.5.1.

    I know that I should remove the http:// however I cannot find it anywhere.
    What have I done so far:
    I'm using Skylark theme, and when I switch to eg 2012 theme, then the error disappears.
    It is not in the functions.php as is suggested by https://managewp.com/wordpress-ssl-settings-and-how-to-resolve-mixed-content-warnings

    I have looked in all css files
    When deactivating the wp e-commerce plugin the error remains, so that has nothing to do with it.

    Suggestions please, Chris.

  2. Christian1012
    Member
    Posted 7 months ago #

    Is the style enqueued?

    If you <?php var_dump( $wp_styles ); ?> is that stylesheet there?

    Alternatively,

    <?php
    global $wp_styles;
    function wporg_echo_enqueue_styles(){
      foreach($wp_styles->queue as $handle){
        echo $handle . '<br>';
      }
    }
    add_action('wp_print_styles','wporg_echo_enqueue_styles');

    That should print them up in the <head>. If they're enqueued in WordPress, you can deregister the handle, and re-register in your functions.php file.

    Hope that helps.

  3. webaware
    Member
    Posted 7 months ago #

    Install the SSL Insecure Content Fixer plugin and see if that fixes it.

    cheers,
    Ross

  4. thecookiemonster
    Member
    Posted 7 months ago #

    Try this website to help you find the culprits: http://www.whynopadlock.com/

  5. chriskol
    Member
    Posted 7 months ago #

    Hi Christian 1012, webaware, cookiemonster,

    Thanks so much for the help. The first thing I tried this morning was the plugin suggested by webaware. It took me about 4 hours yesterday to come up with nothing, this morning it was fixed within ehm 30 seconds. So appreciate the help of you Christian and the cookiemonster as well, but this was the easy fix for me (as I'm also not experienced at WP:)

    Thanks again all of you!

Reply

You must log in to post.

About this Topic