From 0b111f720590f9b00afc71389fee0bc84933e8f2 Mon Sep 17 00:00:00 2001 From: Volodymyr Kolesnykov Date: Fri, 2 Aug 2024 20:37:32 +0300 Subject: [PATCH] fix: initialize wpdb properties as early as possible --- inc/class-plugin.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/inc/class-plugin.php b/inc/class-plugin.php index 940bcaad..5f015584 100644 --- a/inc/class-plugin.php +++ b/inc/class-plugin.php @@ -10,6 +10,8 @@ final class Plugin { use Singleton; private function __construct() { + Schema::instance(); // Initialize wpdb properties + $this->set_up_hooks(); }