diff --git a/Utils/TaskSchedule/TaskScheduler.php b/Utils/TaskSchedule/TaskScheduler.php index 5599b84c2..d5516d32c 100644 --- a/Utils/TaskSchedule/TaskScheduler.php +++ b/Utils/TaskSchedule/TaskScheduler.php @@ -70,7 +70,7 @@ class TaskScheduler extends SchedulerAbstract fclose($pipe); } - $status = trim(proc_close($resource)); + $status = trim((string) proc_close($resource)); if ($status == -1) { throw new \Exception($stderr);