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"; }