From 6e6197e98bb326081cc5eaab67bcb22018a033c5 Mon Sep 17 00:00:00 2001 From: szaimen Date: Mon, 30 Nov 2020 16:34:50 +0100 Subject: [PATCH] Fix PHP error mesage (#1702) This fixes the following error message: ``` Notice: Trying to access array offset on value of type bool in PEAR/REST.php on line 187 PHP Notice: Trying to access array offset on value of type bool in /usr/share/php/PEAR/REST.php on line 187 ``` Signed-off-by: szaimen --- nextcloud_update.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nextcloud_update.sh b/nextcloud_update.sh index 48e56010..5e943c84 100644 --- a/nextcloud_update.sh +++ b/nextcloud_update.sh @@ -197,6 +197,9 @@ then fi fi +# Fix PHP error mesage +mkdir -p /tmp/pear/cache + # Update Redis PHP extension (18.04 --> 20.04 since 16.04 already is deprecated in the top of this script) print_text_in_color "$ICyan" "Trying to upgrade the Redis PECL extension..."