From c5b648d45473eccb0f20e64eade34fae2e0b2671 Mon Sep 17 00:00:00 2001 From: Nikita Sinelnikov Date: Mon, 6 Jun 2022 15:56:53 +0300 Subject: [PATCH] - fix for #1013. fixed #1013; --- includes/core/class-options.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/core/class-options.php b/includes/core/class-options.php index c91df9cd..9c97bb7b 100644 --- a/includes/core/class-options.php +++ b/includes/core/class-options.php @@ -32,7 +32,7 @@ if ( ! class_exists( 'um\core\Options' ) ) { * Set variables */ function init_variables() { - $this->options = get_option( 'um_options' ); + $this->options = get_option( 'um_options', array() ); }