ing $option_set * @return array */ public static function get(string $option_set = '') { $options = self::$defaults; if ( 'widget_options' == $option_set ) { return $options['widget_options']; } $admin_options = get_option('wpp_settings_config'); if ( ! $admin_options ) { $admin_options = $options['admin_options']; add_option('wpp_settings_config', $admin_options); } else { $options['admin_options'] = Helper::merge_array_r( $options['admin_options'], (array) $admin_options ); } if ( 'admin_options' == $option_set ) { return $options['admin_options']; } return $options; } }
Fatal error: Uncaught Error: Class "WordPressPopularPosts\Settings" not found in /htdocs/wp-content/plugins/wordpress-popular-posts/src/Container/WordPressPopularPostsConfiguration.php:23 Stack trace: #0 /htdocs/wp-content/plugins/wordpress-popular-posts/src/Container/Container.php(39): WordPressPopularPosts\Container\WordPressPopularPostsConfiguration->modify(Object(WordPressPopularPosts\Container\Container)) #1 /htdocs/wp-content/plugins/wordpress-popular-posts/src/Bootstrap.php(15): WordPressPopularPosts\Container\Container->configure(Array) #2 /htdocs/wp-content/plugins/wordpress-popular-posts/wordpress-popular-posts.php(38): require('/htdocs/wp-cont...') #3 /htdocs/wp-settings.php(447): include_once('/htdocs/wp-cont...') #4 /htdocs/wp-config.php(86): require_once('/htdocs/wp-sett...') #5 /htdocs/wp-load.php(50): require_once('/htdocs/wp-conf...') #6 /htdocs/wp-blog-header.php(13): require_once('/htdocs/wp-load...') #7 /htdocs/index.php(17): require('/htdocs/wp-blog...') #8 {main} thrown in /htdocs/wp-content/plugins/wordpress-popular-posts/src/Container/WordPressPopularPostsConfiguration.php on line 23