You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We’re seeing a lot of the following notices in debug.log:
[02-Apr-2015 21:33:01 UTC] PHP Notice: Undefined index: HTTP_HOST in advanced-cache.php on line 388
[02-Apr-2015 21:33:01 UTC] PHP Notice: Undefined index: REQUEST_METHOD in advanced-cache.php on line 389
[02-Apr-2015 21:33:01 UTC] PHP Notice: Undefined property: batcache::$query in advanced-cache.php on line 391
The “Undefined property” notice is related to #36, but the other two we don’t see mentioned in any issues or PRs.
We wanted to touch base before submitting a pull request since these notices might be related to our setup, which is also running behind Varnish. Thanks!
The text was updated successfully, but these errors were encountered:
Yeah, those issues are related to your setup. It looks like you need to be passing through the Host: header and the request method. If you're missing Host:, I wouldn't be surprised if you're missing other important headers too.
We’re seeing a lot of the following notices in debug.log:
The “Undefined property” notice is related to #36, but the other two we don’t see mentioned in any issues or PRs.
We wanted to touch base before submitting a pull request since these notices might be related to our setup, which is also running behind Varnish. Thanks!
The text was updated successfully, but these errors were encountered: