• Hello,

    w3tc version 0.9.5.2

    In my cron email report I receive this

    Notice: Trying to get property of non-object in /home/mysite/public_html/wp-content/plugins/w3-total-cache/PgCache_Flush.php on line 62
    
    Notice: Trying to get property of non-object in /home/mysite/public_html/wp-content/plugins/w3-total-cache/PgCache_Flush.php on line 62
    
    Notice: Undefined index: SERVER_PROTOCOL in /home/mysite/public_html/wp-includes/load.php on line 16

    I just opened the load.php and the mentione row is part of this function

    function wp_get_server_protocol() {
    	$protocol = $_SERVER['SERVER_PROTOCOL'];
    	if ( ! in_array( $protocol, array( 'HTTP/1.1', 'HTTP/2', 'HTTP/2.0' ) ) ) {
    		$protocol = 'HTTP/1.0';
    	}
    	return $protocol;
    }

    any ideas what can be wrong?

    Thanks!

Viewing 1 replies (of 1 total)
  • I don’t know if this is related to W3TC, because I get the same error in my cron email report and no reference to W3TC whatsoever.

    Notice: Undefined index: SERVER_PROTOCOL in /home/triangis/public_html/wp-includes/load.php on line 16 <!DOCTYPE html>
    <!– Ticket #11289, IE bug fix: always pad the error page with enough characters such that it is greater than 512 bytes, even after gzip compression (and then a whole bunch of numbers and html code of a page)

Viewing 1 replies (of 1 total)

The topic ‘Index not found error’ is closed to new replies.