From 104b960211b7e9cbe90ada4af355d62529190407 Mon Sep 17 00:00:00 2001 From: azett Date: Sun, 21 Jan 2024 13:44:35 +0100 Subject: [PATCH] PHP 8.2 compatibility: Fixed more "Creation of dynamic property is deprecated" errors --- fp-includes/core/core.bplustree.class.php | 3 +++ fp-includes/core/core.plugins.php | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/fp-includes/core/core.bplustree.class.php b/fp-includes/core/core.bplustree.class.php index 2c2e928..88be228 100755 --- a/fp-includes/core/core.bplustree.class.php +++ b/fp-includes/core/core.bplustree.class.php @@ -1562,6 +1562,9 @@ class BPlusTree { var $fifo_enabled = false; var $file = null; + var $nodesize = null; + var $keylen = null; + var $position = null; /** * constructor diff --git a/fp-includes/core/core.plugins.php b/fp-includes/core/core.plugins.php index 4eb25af..3241716 100644 --- a/fp-includes/core/core.plugins.php +++ b/fp-includes/core/core.plugins.php @@ -6,7 +6,8 @@ class plugin_indexer extends fs_filelister { var $_varname = 'fp_plugins'; var $_enabledlist = null; - + var $enabledlist = null; + var $_directory = PLUGINS_DIR; function __construct() {