• aoneill5

    (@aoneill5)


    I absolutely love this plug-in. There’s one tiny thing I’d like to request, though. I regularly see this sort of message in my Apache log:

    Creating default object from empty value in …/wp-content/plugins/wordpress-https/lib/WordPressHTTPS/Module/Core.php on line 516

    That line of code in question is:

    $wp_styles->base_url = $plugin->makeUrlHttps($wp_styles->base_url);

    I see this warning on a system running PHP 5.5.9 and version 3.4.2 of this plug-in. (Oddly, as I look now, the version of this plug-in at https://wordpress.org/plugins/wordpress-https/ is 3.4.0. I downloaded version 3.4.2 on January 2, 2018.)

    I’m wondering, then, if you might change the code to something like the following to prevent this warning message from being generated (assuming that in the grander scheme, you don’t have specific need for this message).

    @$wp_styles->base_url = $plugin->makeUrlHttps($wp_styles->base_url);

    Thanks very much for this great plug-in!

The topic ‘Creating default object from empty value’ is closed to new replies.