Defender and Hummingbird errors in debug.log.

I see the following errors in my debug.log

[02-Jun-2019 20:55:08 UTC] PHP Notice: Undefined index: HTTP_REFERER in /var/web/staging/public_html/wp-content/plugins/wp-hummingbird/core/modules/class-module-page-cache.php on line 1161

and

ten lines of this and one of [02-Jun-2019 20:50:07 UTC] PHP Deprecated: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in /var/web/staging/public_html/wp-content/plugins/wp-defender/app/module/advanced-tools/component/mask-api.php on line 46

I don’t know what could cause these errors to show up in my debug file.