diff --git a/core/Files/AsyncHttpRequest.php b/core/Files/AsyncHttpRequest.php index ae188552..6dbe1d4b 100644 --- a/core/Files/AsyncHttpRequest.php +++ b/core/Files/AsyncHttpRequest.php @@ -118,6 +118,7 @@ class AsyncHttpRequest implements UsageInformationAble { $request->addListener('complete', function (Event $event) { $error = null; $content = null; + $headers = null; if ($event->response->hasError()) { $error = $event->response->getError()->getMessage(); } else {