From 73fcaff7698863b2243c7c2837384b6f2e0b41b7 Mon Sep 17 00:00:00 2001 From: Ryan Cramer Date: Fri, 4 Dec 2020 11:28:45 -0500 Subject: [PATCH] Fix issue processwire/processwire-issues#1286 --- wire/core/WireHttp.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wire/core/WireHttp.php b/wire/core/WireHttp.php index 5723626f..d84b3c1b 100644 --- a/wire/core/WireHttp.php +++ b/wire/core/WireHttp.php @@ -1838,7 +1838,7 @@ class WireHttp extends Wire { * @param $errcontext * */ - public function _errorHandler($errno, $errstr, $errfile, $errline, $errcontext) { + public function _errorHandler($errno, $errstr, $errfile = '', $errline = 0, $errcontext = array()) { if($errfile || $errline || $errcontext) {} // ignore $this->error[] = "$errno: $errstr"; }