From 284c7c3fa38846db7f72e1db12b2e1f1975e868d Mon Sep 17 00:00:00 2001 From: vendeeglobe <54716082+vendeeglobe@users.noreply.github.com> Date: Tue, 22 Dec 2020 15:11:55 +0100 Subject: [PATCH] fixed Uncaught TypeError: array_diff(): Argument #1 ($array) must be of type array, null given --- wacko/class/wacko.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wacko/class/wacko.php b/wacko/class/wacko.php index 0f17aa3c9..a92c32ee5 100644 --- a/wacko/class/wacko.php +++ b/wacko/class/wacko.php @@ -1050,6 +1050,7 @@ function preload_links($page_ids, $default = false) $exists = []; $pages = []; + $spages = []; $p_ids = []; $user = $this->get_user(); $lang = $this->get_user_language();