From 07243f048216b313989d0c794c092eda5d1d8575 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Thomas=20M=C3=BCller?= Date: Thu, 16 Apr 2015 12:32:17 +0200 Subject: [PATCH] Convert error and hint to string before writing to the output - fixes https://mailman.owncloud.org/pipermail/devel/2015-April/001184.html --- lib/private/console/application.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/private/console/application.php b/lib/private/console/application.php index 551d69ef53c..6d24665e012 100644 --- a/lib/private/console/application.php +++ b/lib/private/console/application.php @@ -52,8 +52,8 @@ class Application { $errors = \OC_Util::checkServer(\OC::$server->getConfig()); if (!empty($errors)) { foreach ($errors as $error) { - $output->writeln($error['error']); - $output->writeln($error['hint']); + $output->writeln((string)$error['error']); + $output->writeln((string)$error['hint']); $output->writeln(''); } throw new \Exception("Environment not properly prepared."); -- 2.39.5