Undefined index: is_ssl
-
I’m getting the debug.log filled with these:
PHP Notice: Undefined index: is_ssl in \query-monitor\output\html\assets.php on line 206
Line 206 reads:
$insecure = ( $scheme && $data['is_ssl'] && ( 'https' !== $scheme ) );
I’m tweaking it like this and seems to work:
$insecure = ( $scheme && isset($data['is_ssl']) && $data['is_ssl'] && ( 'https' !== $scheme ) );
Thanks.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Undefined index: is_ssl’ is closed to new replies.