yle( 'kirki-sections', URL::get_from_path( __DIR__ . '/styles.css' ), [], '1.0' ); wp_enqueue_script( 'kirki-sections', URL::get_from_path( __DIR__ . '/script.js' ), [ 'jquery', 'customize-base', 'customize-controls' ], '1.0', false ); } /** * Generate CSS for the outer sections. * These are by default hidden, we need to expose them. * * @access public * @since 1.0.0 * @return void */ public function outer_sections_css() { if ( isset( $this->args['type'] ) && ( 'outer' === $this->args['type'] || 'kirki-outer' === $this->args['type'] ) ) { echo ''; } } }
Fatal error: Uncaught Error: Class "Kirki\Section" not found in /htdocs/wp-content/plugins/kirki/kirki-packages/compatibility/src/Kirki.php:161 Stack trace: #0 /htdocs/wp-content/plugins/machic-core/inc/customizer.php(93): Kirki\Compatibility\Kirki::add_section('machic_shop_set...', Array) #1 /htdocs/wp-content/plugins/machic-core/machic-core.php(147): require_once('/htdocs/wp-cont...') #2 /htdocs/wp-includes/class-wp-hook.php(324): Machic_Elementor_Addons->init('') #3 /htdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #4 /htdocs/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #5 /htdocs/wp-settings.php(559): do_action('plugins_loaded') #6 /htdocs/wp-config.php(85): require_once('/htdocs/wp-sett...') #7 /htdocs/wp-load.php(50): require_once('/htdocs/wp-conf...') #8 /htdocs/wp-blog-header.php(13): require_once('/htdocs/wp-load...') #9 /htdocs/index.php(17): require('/htdocs/wp-blog...') #10 {main} thrown in /htdocs/wp-content/plugins/kirki/kirki-packages/compatibility/src/Kirki.php on line 161