I’m getting a notice over and over in my log when I run custom scripts via wp cli:
Notice: Undefined index: HTTP_REFERER in /wp-content/plugins/wp-hummingbird/core/modules/class-page-cache.php on line 1350
the script that seems to be triggering the issue is a function from a plugin – woocommerce-multisite-product-sync. It copies products from one site on a multisite to other sites on a multisite. I assume the notice is being triggered when the plugin accesses the media via a url from the source site to copy it to the destination sites.
Maybe it’s just that there is no HTTP_REFERER since the script is not running in the browser, maybe I can add some code so hummingbird isn’t triggered? or maybe hummingbird should check and see if HTTP_REFERER isset so the notice isn’t triggered?