From 7f8c347917cddca99e1ed22a6759ed5fedc34cc7 Mon Sep 17 00:00:00 2001 From: gtbu <30436307+gtbu@users.noreply.github.com> Date: Tue, 28 Nov 2023 14:29:06 +0100 Subject: [PATCH] php 8.2.4 archive-error removes under php 8.2.4 an error with call_user_func_array -> not object or class in Archive.php line1 155 --- include/tool/Archive.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/tool/Archive.php b/include/tool/Archive.php index 1abc536..7f67c2d 100644 --- a/include/tool/Archive.php +++ b/include/tool/Archive.php @@ -150,7 +150,9 @@ class Archive{ * */ public function __call( $name , $arguments ){ - return call_user_func_array( array($this->php_object,$name), $arguments); + $call1 = new \ZipArchive(); + $call1 = $this->php_object; + return call_user_func_array( array($call1,$name), $arguments); }